update `apache2` config
parent
039f53c2e5
commit
a590e359af
|
@ -0,0 +1,6 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName bavbavhaus.localhost
|
||||
DocumentRoot /home/urosm/public_html/bavbavhaus.net
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
|
@ -0,0 +1,11 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName kontrakurs.localhost
|
||||
DocumentRoot /home/urosm/public_html/kontrakurs.org
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
<Directory "/home/urosm/public_html/kontrakurs.org">
|
||||
AddHandler cgi-script .cgi
|
||||
Options +ExecCGI
|
||||
</Directory>
|
||||
ErrorDocument 404 /home/urosm/public_html/kontrakurs.org/ikiwiki.cgi
|
||||
</VirtualHost>
|
|
@ -0,0 +1,21 @@
|
|||
<VirtualHost *:80>
|
||||
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]
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
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
|
||||
<Directory "/home/urosm/public_html/kontrakurs.org">
|
||||
AddHandler cgi-script .cgi
|
||||
Options +ExecCGI
|
||||
</Directory>
|
||||
ErrorDocument 404 /home/urosm/public_html/kontrakurs.org/ikiwiki.cgi
|
||||
</VirtualHost>
|
|
@ -0,0 +1,4 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName mail.kontrakurs.org
|
||||
DocumentRoot /var/www/html/mail.kontrakurs.org
|
||||
</VirtualHost>
|
Loading…
Reference in New Issue