[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r8095 - /man-cgi/conf/apache.conf



Author: jfs
Date: Tue Jan 11 21:22:33 2011
New Revision: 8095

URL: http://svn.debian.org/wsvn/?sc=1&rev=8095
Log:
Add configuration for Apache

Added:
    man-cgi/conf/apache.conf

Added: man-cgi/conf/apache.conf
URL: http://svn.debian.org/wsvn/man-cgi/conf/apache.conf?rev=8095&op=file
==============================================================================
--- man-cgi/conf/apache.conf (added)
+++ man-cgi/conf/apache.conf Tue Jan 11 21:22:33 2011
@@ -1,0 +1,30 @@
+<VirtualHost *:80>
+        ServerName manpages.debian.org
+        ServerAlias manpages.debian.net
+        ServerAdmin jfs@debian.org
+
+        ErrorLog /srv/manpages.debian.org/manpages.debian.org-error.log
+        CustomLog /srv/manpages.debian.org/manpages.debian.org-access.log combined
+# For debugging:
+#        ErrorLog /srv/manpages.debian.org/logs/error.log
+#        CustomLog /srv/manpages.debian.org/logs/access.log combined
+
+        <IfModule mod_userdir.c>
+                UserDir disabled
+        </IfModule>
+
+# Alternative mechanism using mod_rewrite (this is currently implemented 
+# with .htaccess and using mod_redirect
+#        <IfModule mod_rewrite.c>
+#               RewriteEngine on
+#               RewriteRule ^man/([^/]+)/(.*)$ cgi-bin/man.cgi?query=$2&sektion=$1 [L]
+#               RewriteRule ^man/([^/]+)$ cgi-bin/man.cgi?query=$1 [L]
+#       </Location>
+
+        DocumentRoot /srv/manpages.debian.org/www
+	ScriptAlias /cgi-bin/ /srv/manpages.debian.org/cgi-bin/
+        AddDefaultCharset utf-8
+
+</VirtualHost>
+# vim:set syn=apache:
+


Reply to: