1
0
Fork 0

.config/apache2: add apache2 config

main
urosm 2024-01-29 21:39:08 +01:00
parent fab9328883
commit b3005c0199
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>