]> git.sesse.net Git - wloh/blob - apache.conf
Remove password that leaked out into the git repository. (It has also been changed...
[wloh] / apache.conf
1 # Example Apache fragment for running the page.
2 <VirtualHost *:80>
3     ServerAdmin sgunderson@bigfoot.com
4     DocumentRoot /srv/wloh.sesse.net/www
5     ServerName wloh.sesse.net
6     
7     LogLevel info
8     ErrorLog /var/log/apache2/error-wloh.sesse.net.log
9     CustomLog /var/log/apache2/access-wloh.sesse.net.log combined
10
11     ServerSignature On
12     AddDefaultCharset utf-8
13     
14     RewriteEngine on
15     RewriteRule ^/[a-z][a-z]-[A-Z][A-Z]/(.*) /$1 [QSA,L]
16     RewriteRule ^/[a-z][a-z]-[A-Z][A-Z] / [QSA,L]
17     Redirect / /nb-NO/
18  
19     DirectoryIndex index.pl
20
21     <Location />
22         Options ExecCGI MultiViews
23         AddHandler cgi-script .pl
24     </Location>
25 </VirtualHost>
26
27