]> git.deb.at Git - deb/packages.git/blobdiff - conf/apache.conf.sed.in
apache.conf: Enable mod_perl
[deb/packages.git] / conf / apache.conf.sed.in
index a3a074e97396cc24f33bb15825b284ebfb71c763..8e8e2cc883e079edaa7bfdb71fab57e26bd39345 100644 (file)
 
    ScriptAlias /cgi-bin/ %TOPDIR%/cgi-bin/
   
-#   PerlModule ModPerl::Registry
-#   PerlTaintCheck On
-#   PerlRequire %TOPDIR%/bin/mod_perl-startup
-#   PerlSwitches -T
+   PerlModule ModPerl::Registry
+   PerlTaintCheck On
+   PerlRequire %TOPDIR%/bin/mod_perl-startup
+   PerlSwitches -T
    <Location /cgi-bin/>
-#      SetHandler perl-script
+      SetHandler perl-script
       # mod-perl etch
-#      PerlInitHandler Apache2::Reload
+      PerlInitHandler Apache2::Reload
       # mod-perl sarge
       #PerlInitHandler Apache::Reload
-#      PerlHandler ModPerl::Registry
+      PerlHandler ModPerl::Registry
       Options +ExecCGI
-#      PerlSendHeader On
+      PerlSendHeader On
       allow from all
    </Location>
 
 #   RewriteRule . /index.html
 
 </VirtualHost>
+
+#<VirtualHost *>
+#   ServerAdmin frank@lichtenheld.de
+#   DocumentRoot %TOPDIR%/www/
+#   ServerName packages.ubuntu.net
+#   ServerAlias packages.ubuntulinux.org
+#   ErrorLog /var/log/apache2/%SITE%-error.log
+#   CustomLog /var/log/apache2/%SITE%-access.log combined
+#
+#   ScriptAlias /cgi-bin %TOPDIR%/cgi-bin/
+#
+#   RedirectMatch permanent (.*) http://%SITE%$1
+#</VirtualHost>
+