1
0
Fork 0

add `apache2` config

padova
urosm 2024-01-29 21:39:08 +01:00
parent 7e3b89229b
commit 51ee0b6415
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<VirtualHost *:80>
ServerName bavbavhaus.localhost
DocumentRoot /home/urosm/bavbavhaus.net/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<Directory /home/urosm/bavbavhaus.net/public_html>
Require all granted
</Directory>

View File

@ -0,0 +1,16 @@
<VirtualHost *:80>
ServerName kontrakurs.localhost
DocumentRoot /home/urosm/kontrakurs.org/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /home/urosm/kontrakurs.org/public_html>
AddHandler cgi-script .cgi
Options +ExecCGI
</Directory>
ErrorDocument 404 /home/urosm/kontrakurs.org/public_html/ikiwiki.cgi
</VirtualHost>
<Directory /home/urosm/kontrakurs.org/public_html>
Require all granted
</Directory>