summaryrefslogtreecommitdiff
path: root/build/apache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'build/apache.conf')
-rw-r--r--build/apache.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/build/apache.conf b/build/apache.conf
new file mode 100644
index 0000000..b661eaa
--- /dev/null
+++ b/build/apache.conf
@@ -0,0 +1,21 @@
+Listen ${PORT}
+
+<VirtualHost *>
+ ServerName sidewalk.crustytoothpaste.net
+
+ ServerAdmin webmaster@crustytoothpaste.net
+ DocumentRoot /var/www/html
+
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+ AddType application/xhtml+xml .xhtml
+
+ Header append Cache-Control "public; s-maxage=86400" "expr=%{REQUEST_STATUS} == 200"
+
+ ErrorDocument 404 /404.xhtml
+
+ <Location />
+ Options +MultiViews -Indexes
+ </Location>
+</VirtualHost>