]> git.deb.at Git - deb/packages.git/commitdiff
[ARCHIVE] Don't use mod_perl
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 11 May 2008 20:23:57 +0000 (22:23 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 11 May 2008 20:23:57 +0000 (22:23 +0200)
It is still not possible to run two sites with different
configuration on the same host with mod_perl due to some remaining
global variables.

Since this site runs on the same server as packages.debian.net,
we can't use mod_perl currently.

conf/apache.conf.sed.in

index eba66647e2b9b35d243e56f9445e64df864bc0d4..ac2143eb49400149d2f046136b43e94d3c544a57 100644 (file)
    ErrorLog /var/log/apache2/%SITE%-error.log
    CustomLog /var/log/apache2/%SITE%-access.log combined
 
-   Alias /cgi-bin/ %TOPDIR%/cgi-bin/
+   ScriptAlias /cgi-bin/ %TOPDIR%/cgi-bin/
   
    PerlModule ModPerl::Registry
    PerlTaintCheck On
-   PerlRequire %TOPDIR%/bin/mod_perl-startup
+#   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>