[D-community-commits] r260 - trunk/fai-config-dir/files/etc/apache2/sites-available/debian-community.org

holger at alioth.debian.org holger at alioth.debian.org
Mon Mar 10 14:59:24 UTC 2008


Author: holger
Date: 2008-03-10 14:59:23 +0000 (Mon, 10 Mar 2008)
New Revision: 260

Modified:
   trunk/fai-config-dir/files/etc/apache2/sites-available/debian-community.org/WEBSERVER
Log:
add ssl-vhost configuration

Modified: trunk/fai-config-dir/files/etc/apache2/sites-available/debian-community.org/WEBSERVER
===================================================================
--- trunk/fai-config-dir/files/etc/apache2/sites-available/debian-community.org/WEBSERVER	2008-03-10 14:54:41 UTC (rev 259)
+++ trunk/fai-config-dir/files/etc/apache2/sites-available/debian-community.org/WEBSERVER	2008-03-10 14:59:23 UTC (rev 260)
@@ -35,7 +35,7 @@
 	LogLevel warn
 
 	CustomLog /var/log/apache2/access.log combined
-	ServerSignature On
+	ServerSignature Off
 
 	# for awstats
 	Alias /awstatsclasses "/usr/share/awstats/lib/"
@@ -46,6 +46,65 @@
 	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
         Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
 	<Location /cgi-bin/awstats.pl>
+	Order deny,allow
+	deny from all
+	</Location>
+	<Location /awstats/>
+	Order deny,allow
+	deny from all
+	</Location>
+
+</VirtualHost>
+
+NameVirtualHost bikeshed.debian-community.org:443
+<VirtualHost bikeshed.debian-community.org:443>
+	ServerAdmin webmaster at debian-community.org
+
+	# FIXME: this doesnt scale
+
+	RewriteEngine on
+	RewriteCond %{HTTP_HOST}   planet\.debian-community\.org [NC]
+	RewriteRule ^/(.*)         http://wiki.debian-community.org/planets/ [R,L]
+
+	RewriteCond %{HTTP_HOST}   planet\.en\.debian-community\.org [NC]
+	RewriteRule ^/(.*)         http://wiki.debian-community.org/planets/en/ [R,L]
+
+	RewriteCond %{HTTP_HOST}   planet\.de\.debian-community\.org [NC]
+	RewriteRule ^/(.*)         http://wiki.debian-community.org/planets/de/ [R,L]
+
+	RewriteCond %{HTTP_HOST}   planet\.it\.debian-community\.org [NC]
+	RewriteRule ^/(.*)         http://wiki.debian-community.org/planets/it/ [R,L]
+
+	RewriteLog /var/log/apache2/rewrite.log
+	RewriteLogLevel 0
+
+	DocumentRoot /srv/www/
+	<Directory /srv/www/>
+		Options Indexes FollowSymLinks MultiViews +ExecCGI
+		AllowOverride None
+		Order allow,deny
+		allow from all
+
+	</Directory>
+
+	ErrorLog /var/log/apache2/error.log
+
+	# Possible values include: debug, info, notice, warn, error, crit,
+	# alert, emerg.
+	LogLevel warn
+
+	CustomLog /var/log/apache2/access.log combined
+	ServerSignature Off
+
+	# for awstats
+	Alias /awstatsclasses "/usr/share/awstats/lib/"
+	Alias /awstats-icon/ "/usr/share/awstats/icon/"
+	Alias /awstatscss "/usr/share/doc/awstats/examples/css"
+	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
+	ScriptAlias /awstats/ /usr/lib/cgi-bin/
+	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
+        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
+	<Location /cgi-bin/awstats.pl>
 	Order allow,deny
 	allow from 127.0.0.1
 	allow from 157.193.39.172




More information about the D-community-commits mailing list