I have OTRS Help Desk installed on an Ubuntu 11.04 virtual machine (VMware). OTRS functions just fine, but to get to the web interface I have to open
http://x.x.x.x/index.pl instead of just going to
http://x.x.x.x. It's starting to drive me nuts. I even have DirectoryIndex index.pl in the otrs.conf file for apache. I'm starting to go out of my mind... lol
Apache logs don't give me much...
Code:
[Fri Apr 13 13:28:22 2012] [error] [client 10.100.135.127] Attempt to serve directory: /opt/otrs/bin/cgi-bin/
And syslog gives me nothing.
Here is the otrs.conf file located in /etc/apache2/sites-available (there is a link from sites-enabled)
Code:
ServerName *:80
<virtualHost *:80>
ServerAdmin me@stuff.com
DocumentRoot /
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
# agent, admin and customer frontend
ScriptAlias / "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# activate this if you are using an Oracle database
#SetEnv ORACLE_HOME /path/to/your/oracle/
#SetEnv ORACLE_SID YOUR_SID
#SetEnv NLS_LANG AMERICAN_AMERICA.UTF8
#SetEnv NLS_DATE_FORMAT 'YYYY-MM-DD HH24:MI:SS'
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
<Location />
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
DirectoryIndex index.pl
SetHandler perl-script
</Location>
<LocationMatch /.*\.pl>
Options +ExecCGI
SetHandler cgi-script
Order allow,deny
Allow from all
<IfModule mod_perl.c>
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</IfModule>
</LocationMatch>
</IfModule>
# 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>
<IfModule mod_headers.c>
<Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/js/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>
</VirtualHost>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 4000