[or-cvs] r21889: {} Add our apache.conf to serve as a (bad?) example to others (in check/trunk: . etc)

Peter Palfrader peter at palfrader.org
Tue Mar 9 18:13:14 UTC 2010


Author: weasel
Date: 2010-03-09 18:13:14 +0000 (Tue, 09 Mar 2010)
New Revision: 21889

Added:
   check/trunk/etc/
   check/trunk/etc/apache.conf
Log:
Add our apache.conf to serve as a (bad?) example to others

Added: check/trunk/etc/apache.conf
===================================================================
--- check/trunk/etc/apache.conf	                        (rev 0)
+++ check/trunk/etc/apache.conf	2010-03-09 18:13:14 UTC (rev 21889)
@@ -0,0 +1,41 @@
+# this is the apache config in use on the actual check.tpo.
+# it also serves as an example apache config snippet
+#
+# required modules are wsgi and rewrite for this config.
+# the .htaccess files also want expires and headers.
+
+# run sudo apache2-vhost-update check.torproject.org after editing this file
+
+WSGIDaemonProcess check.torproject.org user=nobody group=nogroup home=/srv/check.debian.org processes=2 threads=16 maximum-requests=1000 umask=0007 display-name=wsgi-check.torproject.org
+
+<VirtualHost *:80>
+	ServerName check.torproject.org
+	ServerAlias check2.torproject.org
+	ServerAdmin torproject-admin at torproject.org
+
+	<IfModule mod_userdir.c>
+		UserDir disabled
+	</IfModule>
+	ErrorLog /var/log/apache2/check.torproject.org-error.log
+	CustomLog /var/log/apache2/check.torproject.org-access.log privacy
+	ServerSignature On
+
+	DocumentRoot /srv/check.torproject.org/htdocs
+	<Location />
+		Options Multiviews Indexes
+		IndexOptions FancyIndexing NameWidth=*
+		Order allow,deny
+		Allow from all
+	</Location>
+
+	WSGIProcessGroup check.torproject.org
+	WSGIPassAuthorization On
+
+	WSGIScriptAlias /torcheck /srv/check.torproject.org/bin/torcheck
+	WSGIScriptAlias /torbulkexitlist /srv/check.torproject.org/bin/torbulkexitlist
+
+	RewriteEngine On
+	RewriteRule  ^/$ /torcheck  [PT]
+	RewriteRule  ^/cgi-bin/TorBulkExitList.py$ /torbulkexitlist  [PT]
+</VirtualHost>
+# vim:ft=apache:



More information about the tor-commits mailing list