OTRS

Scott Lockwood scott at guppylog.com
Thu Apr 5 17:24:54 UTC 2007


Has anyone setup otrs2 in Ubuntu? I have:

0. done 'apt-get install otrs2 otrs-doc-en'

1. linked the included /etc/otrs/apache2-httpd.include.conf
to /etc/apache2/sites-available/001-otrs

2. restarted apache

This didn't work well, I get that the /otrs directory doesn't exist -
this is true. It's an alias. So, I edited the file slightly to reflect
that it's a virtual host, but I suspect I'm still doing something wrong.
Anyone have any ideas? Here's the slightly modified
apache2-httpd.include.conf:

<VirtualHost *>
# added for OTRS (http://otrs.org/)

ServerAdmin xxxxx at xxxxxxxxxxx.xxx
ServerName xxxxxxxxxxxxx.xxxxxxxxxx.xxx
ServerAlias xxxx.xxxxxxxxxxxxx.xxxxxxxxxx.xxx

# agent, admin and customer frontend
ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"

# load all otrs modules
Perlrequire /usr/share/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 "/usr/share/otrs/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>

<Directory "/usr/share/otrs/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

</VirtualHost>






More information about the ubuntu-users mailing list