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
<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>

# directory settings
<Directory "/opt/otrs/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

----

You might have to replace Apache::Reload with Apache2::Reload on your system (two occurences), I'm not sure.

Nils.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to