Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # --
- # added for OTRS (http://otrs.org/)
- # $Id: apache2-httpd.include.conf,v 1.25 2011/11/05 17:39:09 mb Exp $
- # --
- # agent, admin and customer frontend
- ScriptAlias /otrs/ "C:/OTRS/OTRS/bin/cgi-bin/"
- Alias /otrs-web/ "C:/OTRS/OTRS/var/httpd/htdocs/"
- # activate this if you are using an Oracle database
- #SetEnv ORACLE_HOME /path/to/your/oracle/
- #SetEnv ORACLE_SID YOUR_SID
- #SetEnv NLS_LANG AMERICAN_AMERICA.UTF8
- #SetEnv NLS_DATE_FORMAT 'YYYY-MM-DD HH24:MI:SS'
- # if mod_perl is used
- <IfModule mod_perl.c>
- # load all otrs modules
- Perlrequire C:/OTRS/OTRS/scripts/apache2-perl-startup.pl
- # Apache::Reload - Reload Perl Modules when Changed on Disk
- PerlModule Apache2::Reload
- PerlInitHandler Apache2::Reload
- PerlModule Apache2::RequestRec
- # set mod_perl2 options
- <Location /otrs>
- # ErrorDocument 403 /otrs/customer.pl
- ErrorDocument 403 /otrs/index.pl
- SetHandler perl-script
- PerlResponseHandler ModPerl::Registry
- Options +ExecCGI
- PerlOptions +ParseHeaders
- PerlOptions +SetupEnv
- Order allow,deny
- Allow from all
- </Location>
- # set mod_perl2 option for generic interface
- <Location /otrs/nph-genericinterface.pl>
- PerlOptions -ParseHeaders
- </Location>
- </IfModule>
- # directory settings
- <Directory "C:/OTRS/OTRS/bin/cgi-bin/">
- AllowOverride None
- Options None
- Order allow,deny
- Allow from all
- AuthName "OTRS"
- AuthType SSPI
- SSPIAuth On
- SSPIAuthoritative On
- SSPIUsernameCase lower
- SSPIOmitDomain On
- require valid-user
- Options +ExecCGI -Includes
- </Directory>
- <Directory "C:/OTRS/OTRS/var/httpd/htdocs/">
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule mod_headers.c>
- <Directory "C:/OTRS/OTRS/var/httpd/htdocs/skins/*/*/css-cache">
- <FilesMatch "\.(css|CSS)$">
- Header set Cache-Control "max-age=2592000 must-revalidate"
- </FilesMatch>
- </Directory>
- <Directory "C:/OTRS/OTRS/var/httpd/htdocs/js/js-cache">
- <FilesMatch "\.(js|JS)$">
- Header set Cache-Control "max-age=2592000 must-revalidate"
- </FilesMatch>
- </Directory>
- </IfModule>
- # MaxRequestsPerChild (so no apache child will be to big!)
- MaxRequestsPerChild 4000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement