SOURCES: otrs-http.conf - use Directory configuration rather Locat...

glen glen at pld-linux.org
Sat Apr 15 15:34:00 CEST 2006


Author: glen                         Date: Sat Apr 15 13:33:59 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use Directory configuration rather Location
- webapp should not re-define global server variables
- don't automatically load Apache::Reload, should be sysadmin decision and it's not in Requires
- fix startup script path

---- Files affected:
SOURCES:
   otrs-http.conf (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/otrs-http.conf
diff -u SOURCES/otrs-http.conf:1.4 SOURCES/otrs-http.conf:1.5
--- SOURCES/otrs-http.conf:1.4	Tue Oct 12 10:32:56 2004
+++ SOURCES/otrs-http.conf	Sat Apr 15 15:33:54 2006
@@ -1,21 +1,18 @@
-# --
-# added for OTRS (http://otrs.org/)
-# --
+# $Id$
 
 # agent, admin and customer frontend (mod_alias required!)
 ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/"
 Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
 
 # load all otrs modules (speed improvement!)
-#Perlrequire /opt/otrs/scripts/apache-perl-startup.pl
-Perlrequire /usr/share/otrs/scripts/apache-perl-startup
+PerlRequire /usr/share/otrs/scripts/apache2-perl-startup
 
 # Apache::Reload - Reload Perl Modules when Changed on Disk
-PerlModule Apache::Reload
-PerlInitHandler Apache::Reload
+# poldek -u perl-Apache-Reload if enabling this
+#PerlModule Apache::Reload
+#PerlInitHandler Apache::Reload
 
-
-<Location /otrs>
+<Directory /usr/share/otrs/bin/cgi-bin>
 #	ErrorDocument 403 /otrs/customer.pl
 	ErrorDocument 403 /otrs/index.pl
 	SetHandler  perl-script
@@ -24,8 +21,7 @@
 	PerlOptions +ParseHeaders
 	PerlSendHeader On
 	PerlSetupEnv On
-</Location>
-
-# MaxRequestsPerChild (so no apache child will be to big!)
-MaxRequestsPerChild 400
+</Directory>
 
+# MaxRequestsPerChild (so no apache child will be too big!)
+#MaxRequestsPerChild 400
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/otrs-http.conf?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list