Hi Everyone,
To workaround the bug in the Windows installer
(invalid URL causing apache to crash) I'm attempting to install OTRS
onto a WAMP server.
WAMP is installed on a Windows Server 2008 box as is Strawberry Perl.
my httpd.conf file has been modified like so:
# ---
# OTRS configuration
# ---
# load mod_perl
LoadFile 'C:/strawberry/perl/bin/perl510.dll'
LoadModule perl_module modules/mod_perl.so
# include the OTRS configuration
#Include 'C:/wamp/www/OTRS/scripts/apache2-httpd-new.include.conf' <----------Causing the problem
# ---
The line highlighted above is causing an issue. If i comment it out apache will load up fine. If i uncomment it apache won't start. Contents of the file are:
# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd.include.conf,v 1.11 2007/04/16 12:11:53 martin Exp $
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "C:/wamp/www/OTRS/bin/cgi-bin/"
Alias /otrs-web/ "C:/wamp/www/OTRS/var/httpd/htdocs/"
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire C:/wamp/www/OTRS/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
# set mod_perl2 options
<Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
AllowOverride None
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
Order allow,deny
Allow from all
</Location>
</IfModule>
# directory settings
<Directory "C:/wamp/www/OTRS/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "C:/wamp/www/OTRS/var/httpd/htdocs/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400
Anyone got any ideas as to what I'm doing wrong? Also I'm not sure if Perl is working correctly, if I comment out that code mentioned before and try to load up one of the pages I just get the code in my web browser.
Thanks,
David