Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342679 - www-servers/apache: no more cgi in apache after upgrade
Summary: www-servers/apache: no more cgi in apache after upgrade
Status: RESOLVED OBSOLETE
Alias: None
Product: Documentation
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 00:44 UTC by William Waisse
Modified: 2014-05-24 19:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Waisse 2010-10-26 00:44:10 UTC
The apache mod_cgid is no more in the use flags, its now in the APACHE2_MODULES

 A warning is issued during apache upgrade, but its easy to miss it and the problem seems to have hitted many gentoo users.

 I was thinking it could be a good thing to ad 2 or three lines on :
http://www.gentoo.org/proj/en/apache/doc/troubleshooting.xml

 Probably, adding in the 4.  Webserver doesn't interpret PHP or CGI scripts and returns their code instead

 something like :
 After upgrading to apache-2-2-16, the use flag cgi is no more used, you have to add cgi ( or cgid depending on your MPM ) in the APACHE2_MODULES in your make.conf , or apache wont restart 

 removing the line :
LoadModule cgi_module modules/mod_cgi.so
 allows apache to start, but you ll have no more cgi and this will break awstats and other cgi webapps
Comment 1 Michael Orlitzky gentoo-dev 2014-05-23 16:48:10 UTC
Since this only affects upgrades, and the upgrade occurred several years ago, I think our opportunity to do any good here has passed.

Suggesting RESOLVED: OBSOLETE and assigning to current apache maintainer.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-24 19:24:34 UTC
Nearly four years old. I doubt this affects many users today.