summaryrefslogtreecommitdiff
path: root/files/vhosts.d/00_default_centos_vhost.conf
diff options
context:
space:
mode:
Diffstat (limited to 'files/vhosts.d/00_default_centos_vhost.conf')
-rw-r--r--files/vhosts.d/00_default_centos_vhost.conf37
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