Merge branch 'upstream'
[rahunas] / debian / rahunas-weblogin.apache2.conf
1 Listen 8888
2 <VirtualHost *:8888>
3         ServerAdmin webmaster@localhost
4         
5         DocumentRoot /usr/share/rahunas/
6         <Directory />
7                 Options FollowSymLinks
8                 AllowOverride None
9         </Directory>
10         <Directory /usr/share/rahunas/>
11                 Options Indexes FollowSymLinks MultiViews
12                 AllowOverride All
13                 Order allow,deny
14                 allow from all
15         </Directory>
16
17         ErrorLog /var/log/apache2/rahunas_error.log
18         LogLevel warn
19         CustomLog /var/log/apache2/rahunas_access.log combined
20
21 </VirtualHost>
22
23 <IfModule mod_ssl.c>
24 Listen 8443
25 <VirtualHost *:8443>
26         ServerAdmin webmaster@localhost
27         
28         DocumentRoot /usr/share/rahunas/
29         <Directory />
30                 Options FollowSymLinks
31                 AllowOverride None
32         </Directory>
33         <Directory /usr/share/rahunas/>
34                 Options Indexes FollowSymLinks MultiViews
35                 AllowOverride All
36                 Order allow,deny
37                 allow from all
38         </Directory>
39
40         ErrorLog /var/log/apache2/rahunas_error.log
41         LogLevel warn
42         CustomLog /var/log/apache2/rahunas_ssl_access.log combined
43
44         SSLEngine on
45         SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
46         SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
47
48         <FilesMatch "\.(cgi|shtml|phtml|php)$">
49                 SSLOptions +StdEnvVars
50         </FilesMatch>
51         BrowserMatch ".*MSIE.*" \
52                 nokeepalive ssl-unclean-shutdown \
53                 downgrade-1.0 force-response-1.0
54
55 </VirtualHost>
56 </IfModule>