summaryrefslogtreecommitdiff
path: root/build/apache.conf
blob: b661eaaf7f1b6850f60af16a904136898eead984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>