
Hershel Robinson wrote:
Could this be a problem with step 6? Webserver configuration? I don't think so but I don't know. All I actually did was add these 2 lines:
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
to the very bottom of httpd.conf
What now?
I have this instead:
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
So, a ScriptAlias instead of a normal Alias. That should tell apache
to execute the files as scripts, instead of serving them up as text
documents.
Here's my full vhost configuration for OTRS using mod_perl instead of
CGI (much faster):
----
# 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