summaryrefslogtreecommitdiff
path: root/files/vhosts.d/00_default_centos_vhost.conf
blob: b63640fa227e81961edb46d686dc3888721a20f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ###########################################################
# # copyleft 2008 immerda.ch
# ###########################################################
# ### this file is managed by PUPPET                     ####
# ### only modify in svn or you will loose the changes ! ####
# ###########################################################

<VirtualHost *:80>
	DocumentRoot /var/www/html

    RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    ServerSignature Off
</VirtualHost>

<VirtualHost _default_:443>
	DocumentRoot /var/www/html

	SSLEngine on

    SSLCipherSuite HIGH:MEDIUM:!ADH:-SSLv2
 
    SSLCertificateFile /e/certs/server.crt
    SSLCertificateKeyFile /e/certs/server.key
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
        SSLOptions +StdEnvVars
    </Files>

    RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    ServerSignature Off

</VirtualHost>

# vim: ts=4 filetype=apache