apache2 CGI isn't enabled for mythweb 14.04

Bug #1316409 reported by Will Dormann
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
High
Thomas Mashos

Bug Description

When trying to download a file via mythweb 0.27-fixes on Mythbuntu 14.04, I get a 404 error. e.g.:
Not Found

The requested URL /mythweb/mythweb.pl/pl/stream/2199/1399343400 was not found on this server.

Requesting just /mythweb/mythweb.pl would download the PERL script, indicating that CGI wasn't working. To get it working, I needed to make the following changes:

1) sudo ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/cgi.load
2) In /etc/apache2/mods-available/mime.conf, add:
AddHandler cgi-script .cgi .pl

After these changes and restarting apache2, downloading works just fine.

Revision history for this message
Thomas Mashos (tgm4883) wrote :
Changed in mythbuntu:
assignee: nobody → Thomas Mashos (tgm4883)
importance: Undecided → High
status: New → In Progress
Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.