# Included on the zone from /etc/apache2/httpd.conf: # Include /etc/apache/local-conf/httpd.conf # # Update Apache config like so: # # cd /home/automc/svn/spamassassin; sudo -u automc svn up # sudo /etc/init.d/apache2 restart ; tail /var/apache2/logs/error_log # --------------------------------------------------------------------------- # May 12 2005 jm DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi UseCanonicalName On NameVirtualHost *:80 # jm dec 9 : proxy shouldn't wait for EOF, we want partial files too # SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 # try to cause more frequent buf writes with a tiny buf size ProxyIOBufferSize 16 # reverse proxying only! ProxyRequests Off # --------------------------------------------------------------------------- ServerName buildbot.spamassassin.org options indexes SymLinksIfOwnerMatch AllowOverride indexes DocumentRoot /var/www/buildbot.spamassassin.org ServerAdmin webmaster@spamassassin.org userdir disabled # mod_rewrite debugging: # RewriteLogLevel 9 # RewriteLog /var/apache2/logs/rewrite_log # backwards compat for old URLs RewriteEngine On RewriteRule ^/(ruleqa|preflight|bb)$ $1/ [R] RewriteRule ^/ruleqa/(.*) http://ruleqa.spamassassin.org/$1 [R,L] RewriteRule ^/preflight/(.*) http://bbmass.spamassassin.org/$1 [R,L] RewriteRule ^/bb/(.*) http://buildbot.spamassassin.org/$1 [R,L] # index: straight through RewriteRule ^/$ http://127.0.0.1:8010/ [P] # anything else; proxy, if it doesn't exist as a file/dir RewriteCond /var/www/buildbot.spamassassin.org/%{REQUEST_FILENAME} !-d RewriteCond /var/www/buildbot.spamassassin.org/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*) http://127.0.0.1:8010/$1 [P] ProxyRequests Off Order deny,allow Allow from all # --------------------------------------------------------------------------- ServerName bbmass-trunk.spamassassin.org ServerAlias bbmass.spamassassin.org options indexes SymLinksIfOwnerMatch AllowOverride indexes DocumentRoot /var/www/bbmass.spamassassin.org ServerAdmin webmaster@spamassassin.org userdir disabled RewriteEngine On # index: straight through RewriteRule ^/$ http://127.0.0.1:8011/ [P] # anything else; proxy, if it doesn't exist as a file/dir RewriteCond /var/www/bbmass.spamassassin.org/%{REQUEST_FILENAME} !-d RewriteCond /var/www/bbmass.spamassassin.org/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*) http://127.0.0.1:8011/$1 [P] ProxyRequests Off Order deny,allow Allow from all # --------------------------------------------------------------------------- ServerName ruleqa-trunk.spamassassin.org ServerAlias ruleqa.spamassassin.org options indexes SymLinksIfOwnerMatch AllowOverride indexes DocumentRoot /var/www/ruleqa.spamassassin.org ServerAdmin webmaster@spamassassin.org userdir disabled # debugging: # RewriteLogLevel 9 # RewriteLog /var/apache2/logs/rewrite_log # "%2F" is used to grep rule subsets, allow it AllowEncodedSlashes On # strip out known-local files and loops; all else goes to the ruleqa code RewriteEngine On # index: straight through RewriteRule ^/$ /ruleqa.cgi [PT,L] # satisfy local files RewriteCond /var/www/ruleqa.spamassassin.org/%{REQUEST_FILENAME} !-d RewriteCond /var/www/ruleqa.spamassassin.org/%{REQUEST_FILENAME} !-f # otherwise the CGI RewriteCond %{REQUEST_URI} !^/ruleqa\.cgi RewriteRule ^/(.*) /ruleqa.cgi/$1 [PT,L] ScriptAlias /ruleqa.cgi /home/automc/svn/spamassassin/masses/rule-qa/automc/ruleqa.cgi # --------------------------------------------------------------------------- # # ServerName bbmass-stable.spamassassin.org # # options indexes SymLinksIfOwnerMatch # AllowOverride indexes # # DocumentRoot /var/www/bbmass-stable.spamassassin.org # ServerAdmin webmaster@spamassassin.org # userdir disabled # # RewriteEngine On # # # index: straight through # RewriteRule ^/$ http://127.0.0.1:8011/ [P] # # # anything else; proxy, if it doesn't exist as a file/dir # RewriteCond /var/www/bbmass-stable.spamassassin.org/%{REQUEST_FILENAME} !-d # RewriteCond /var/www/bbmass-stable.spamassassin.org/%{REQUEST_FILENAME} !-f # RewriteRule ^/(.*) http://127.0.0.1:8011/$1 [P] # # ProxyRequests Off # # Order deny,allow # Allow from all # # # # --------------------------------------------------------------------------- ServerName ruleqa-stable.spamassassin.org options indexes SymLinksIfOwnerMatch AllowOverride indexes DocumentRoot /var/www/ruleqa-stable.spamassassin.org ServerAdmin webmaster@spamassassin.org userdir disabled # debugging: # RewriteLogLevel 9 # RewriteLog /var/apache2/logs/rewrite_log # "%2F" is used to grep rule subsets, allow it AllowEncodedSlashes On # strip out known-local files and loops; all else goes to the ruleqa code RewriteEngine On # index: straight through RewriteRule ^/$ /ruleqa.cgi [PT,L] # satisfy local files RewriteCond /var/www/ruleqa-stable.spamassassin.org/%{REQUEST_FILENAME} !-d RewriteCond /var/www/ruleqa-stable.spamassassin.org/%{REQUEST_FILENAME} !-f # otherwise the CGI RewriteCond %{REQUEST_URI} !^/ruleqa\.cgi RewriteRule ^/(.*) /ruleqa.cgi/$1 [PT,L] ScriptAlias /ruleqa.cgi /home/automc-stable/svn/spamassassin/masses/rule-qa/automc/ruleqa.cgi # --------------------------------------------------------------------------- ServerName rsync.spamassassin.org options indexes SymLinksIfOwnerMatch AllowOverride indexes DocumentRoot /home/corpus-rsync/corpus ServerAdmin webmaster@spamassassin.org userdir disabled # --------------------------------------------------------------------------- ServerName updatedist.spamassassin.org options indexes SymLinksIfOwnerMatch AllowOverride indexes DocumentRoot /var/www/buildbot.spamassassin.org/updatestage ServerAdmin webmaster@spamassassin.org userdir disabled # ---------------------------------------------------------------------------