15 Feb
2005
15 Feb
'05
9:24 p.m.
On Mon, Feb 14, 2005 at 05:38:44PM +0100, Frédéric Mangeant wrote:
I'm not allowed to access any hobbit manpage whose name include "cgi" (for example bb-hostsvc.cgi.1.html)
Anonymous mailed me - he had the same problem and found the solution:
This occurs because by default, apache associates the cgi-script handler with any filename containing ".cgi". I fixed this on my server by changing the following line in my httpd.conf
AddHandler cgi-script .cgi ->to-> AddHandler cgi-script .cgi$
This forces the match to only occur if the ".cgi" is at the end of the filename (duh) :)
Regards, Henrik