From 51ee0b6415bbf053425bf5277520c6318d89d86d Mon Sep 17 00:00:00 2001 From: urosm Date: Mon, 29 Jan 2024 21:39:08 +0100 Subject: [PATCH] add `apache2` config --- .../sites-available/bavbavhaus.localhost.conf | 10 ++++++++++ .../sites-available/kontrakurs.localhost.conf | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .config/apache2/sites-available/bavbavhaus.localhost.conf create mode 100644 .config/apache2/sites-available/kontrakurs.localhost.conf diff --git a/.config/apache2/sites-available/bavbavhaus.localhost.conf b/.config/apache2/sites-available/bavbavhaus.localhost.conf new file mode 100644 index 0000000..e165558 --- /dev/null +++ b/.config/apache2/sites-available/bavbavhaus.localhost.conf @@ -0,0 +1,10 @@ + + ServerName bavbavhaus.localhost + DocumentRoot /home/urosm/bavbavhaus.net/public_html + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + + Require all granted + diff --git a/.config/apache2/sites-available/kontrakurs.localhost.conf b/.config/apache2/sites-available/kontrakurs.localhost.conf new file mode 100644 index 0000000..3e5c039 --- /dev/null +++ b/.config/apache2/sites-available/kontrakurs.localhost.conf @@ -0,0 +1,16 @@ + + ServerName kontrakurs.localhost + DocumentRoot /home/urosm/kontrakurs.org/public_html + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + AddHandler cgi-script .cgi + Options +ExecCGI + + ErrorDocument 404 /home/urosm/kontrakurs.org/public_html/ikiwiki.cgi + + + + Require all granted + +