I am running redhat ES 4.0, OTRS 2.03, Apache 2.0.52 and perl, v5.8.5.
When I have the virtual host config files located in http/conf.d they
work fine. I move them to http/available and create a link from
http/enabled to the otrs.conf file I get the following error.
Syntax error on line 13 of /etc/httpd/enabled/otrs.conf:
Invalid command 'Perlrequire', perhaps mis-spelled or defined by a
module not included in the server configuration.
Here is the otrs.conf file:
ServerAdmin me@myserver.com
ServerName otrs.myserver.com
DocumentRoot /opt/otrs/var/httpd/htdocs/
ErrorLog /var/log/httpd/OTRS-error_log
CustomLog /var/log/httpd/OTRS-access_log common
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# load all otrs modules
Perlrequire /opt/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
AllowOverride None
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
Order allow,deny
Allow from all
</Location>
# directory settings
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks for any help with this.
Ken Kilgore