SOURCES: otrs-http1.conf - use Directory configuration rather Loca...
glen
glen at pld-linux.org
Sat Apr 15 15:36:24 CEST 2006
Author: glen Date: Sat Apr 15 13:36:24 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use Directory configuration rather Location
- webapp should not re-define global server variables
---- Files affected:
SOURCES:
otrs-http1.conf (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/otrs-http1.conf
diff -u SOURCES/otrs-http1.conf:1.2 SOURCES/otrs-http1.conf:1.3
--- SOURCES/otrs-http1.conf:1.2 Thu Mar 18 10:29:44 2004
+++ SOURCES/otrs-http1.conf Sat Apr 15 15:36:19 2006
@@ -1,28 +1,25 @@
-# --
-# 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 /opt/otrs/scripts/apache-perl-startup.pl
-# Apache::StatINC - Reload %INC files when updated on disk
-# (just use it for testing, setup, ... not for high productiv systems)
+# Apache::StatINC - Reload %INC files when updated on disk
+# (just use it for testing, setup, ... not for high productive systems)
#PerlInitHandler Apache::StatINC
-<Location /otrs>
-# ErrorDocument 403 /otrs/customer.pl
- ErrorDocument 403 /otrs/index.pl
- SetHandler perl-script
- PerlHandler Apache::Registry
- Options ExecCGI
- PerlSendHeader On
- PerlSetupEnv On
-</Location>
-
-# MaxRequestsPerChild (so no apache child will be to big!)
-MaxRequestsPerChild 400
+<Directory /usr/share/otrs/bin/cgi-bin>
+# ErrorDocument 403 /otrs/customer.pl
+ ErrorDocument 403 /otrs/index.pl
+ SetHandler perl-script
+ PerlHandler Apache::Registry
+ Options ExecCGI
+ PerlSendHeader On
+ PerlSetupEnv On
+</Directory>
+# MaxRequestsPerChild (so no apache child will be too big!)
+#MaxRequestsPerChild 400
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/otrs-http1.conf?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list