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?
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/". So this alias should point to the OTRS cgi-bin? Adding the cgi-bin ScriptAlias doesn't change anything after a restart. – SPRBRN May 05 '15 at 09:40/opt/otrs/bin/cgi-bin/it should be:ScriptAlias /cgi-bin/ "/opt/otrs/bin/cgi-bin/". Also check your virtual host, as I edited in my answer. – Pabi May 05 '15 at 10:14/opt/otrs/scripts/apache2-httpd.include.conf. Have you copied that file to your/etc/apache2/conf-availabledirectory and enabled it witha2ensite apache2-httpd.include? – Pabi May 05 '15 at 13:44