ServerName kontrakurs.org
ServerAlias www.kontrakurs.org
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.kontrakurs.org [OR]
RewriteCond %{SERVER_NAME} =kontrakurs.org
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ServerName kontrakurs.org
ServerAlias www.kontrakurs.org
DocumentRoot /home/urosm/public_html/kontrakurs.org
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
AddHandler cgi-script .cgi
Options +ExecCGI
ErrorDocument 404 /home/urosm/public_html/kontrakurs.org/ikiwiki.cgi