[lug] cgi and apache

rm at mamma.varadinet.de rm at mamma.varadinet.de
Sat Oct 28 11:29:07 MDT 2000


On Sat, Oct 28, 2000 at 12:06:43PM -0600, John Starkey wrote:
> I'm trying to set apache up for cgi.
> 
> The script executes from commandline as the owner. Permissions are
> 755.
> 
> I can access the file from the browser with apache's addhandler
> commented out (doesn't execute, shows the script). But when I use 
> 
> addhandler /cgi-script/ .cgi
> 
> I get a forbidden error.

Probably a silly question: is the script executable by the 
user that apache runs as? Apache checks for a set X bit.

  Ralf




More information about the LUG mailing list