I'm trying to get OTRS 4.0 working on Ubuntu 14.04. I've followed all instructions to install from source.
When I open the site (localhost/otrs/index.pl), an empty .pl-file is served for download. Apparently Apache finds the index.pl, but does not know what to do with it.
- OTRS is installed with all relevant perl modules (checked by install script)
- Vhost is copied from scripts folder in OTRS
- hosts is updated for the local test domain
- Apache is restarted
Modules
cgi.load -> ../mods-available/cgi.load
perl.load -> ../mods-available/perl.load
Question
How can I get Perl working with Apache?
Make sure you have set the following path in your
/etc/apache2/apache2.conf
:ScriptAlias /cgi-bin/ "/path/to/cgi-bin/"
and that your scripts are in that folder.If your scripts ends on .pl make sure to change the line
AddHandler cgi-script .cgi
toAddHandler cgi-script .cgi .pl
in
/etc/apache2/apache2.conf
and check that it is not commented out.Options FollowSymLinks +ExecCGI
needs to set in your virtual host.Waking the dead but with the answer. Do this:
and it works.