diff options
author | mh <mh@immerda.ch> | 2008-04-13 17:53:35 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-04-13 17:53:35 +0000 |
commit | 61e9e8756180218bf262ab5cb35c31cb564af0f5 (patch) | |
tree | 529f66be5e5b40270e5ddf984a00478132bc99bb /files/vhosts.d/00_default_centos_vhost.conf | |
parent | 37250569a91adad0f6468095f764bc6d9a2a74e3 (diff) |
default vhost for centos
Diffstat (limited to 'files/vhosts.d/00_default_centos_vhost.conf')
-rw-r--r-- | files/vhosts.d/00_default_centos_vhost.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/files/vhosts.d/00_default_centos_vhost.conf b/files/vhosts.d/00_default_centos_vhost.conf new file mode 100644 index 0000000..b63640f --- /dev/null +++ b/files/vhosts.d/00_default_centos_vhost.conf @@ -0,0 +1,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 |