[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Problem with some hobbit manpages



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)

Stephen Beaudry 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