Eli the Bearded
2018-10-17 20:44:53 UTC
Crossposted to comp.infosystems.www.servers.unix and follow-ups set.
sense that they are looking at the symptoms and not the problem. For
starters, you posted to the wrong group.
For seconds, you changed your Apache config and DIDN'T POST WHAT CHANGE
YOU MADE. The problem is 100% in the config. A normal Apache install
does not execute .html files as CGI scripts. (Unless maybe they are
installed in a directory marked as all CGI.)
I'm a big fan of non-standard file extensions for CGI and have totally
made .html run as CGI sometimes, but mostly I want .html to be .html.
What do you have in your config? Something like this will be mighty
useful in giving a reader a chance to understand your config:
grep -hv '#' /etc/apache2/*.conf /etc/apache2/*-enabled/* >> USENETPOST
If you want limit it to blocks mentioning CGI, that would be cool too.
But blindly fixing your apache config without seeing it, no one wants to
do that.
Elijah
------
posting how you made the change isn't enough
I am running Apache2.4.25 under Raspbian on a Raspberry Pi 3. Prior to
enabling CGI, everything was working fine, but I need to implement
some scripts, so I ran a2enmod, and the system enabled CGI. Now I
can't get anything to work, however. I can't even get a flat html page
I believe all of the responses so far to your question are wrong in theenabling CGI, everything was working fine, but I need to implement
some scripts, so I ran a2enmod, and the system enabled CGI. Now I
can't get anything to work, however. I can't even get a flat html page
sense that they are looking at the symptoms and not the problem. For
starters, you posted to the wrong group.
For seconds, you changed your Apache config and DIDN'T POST WHAT CHANGE
YOU MADE. The problem is 100% in the config. A normal Apache install
does not execute .html files as CGI scripts. (Unless maybe they are
installed in a directory marked as all CGI.)
I'm a big fan of non-standard file extensions for CGI and have totally
made .html run as CGI sometimes, but mostly I want .html to be .html.
What do you have in your config? Something like this will be mighty
useful in giving a reader a chance to understand your config:
grep -hv '#' /etc/apache2/*.conf /etc/apache2/*-enabled/* >> USENETPOST
If you want limit it to blocks mentioning CGI, that would be cool too.
But blindly fixing your apache config without seeing it, no one wants to
do that.
Elijah
------
posting how you made the change isn't enough