*BSD News Article 97777


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!act.news.telstra.net!news-out.internetmci.com!newsfeed.internetmci.com!howland.erols.net!vixen.cso.uiuc.edu!uwm.edu!miller.cs.uwm.edu!bacon
From: bacon@cs.uwm.edu (Jason Bacon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: httpd configuration
Date: 12 Jun 1997 21:38:47 GMT
Organization: University of Wisconsin - Milwaukee
Lines: 21
Message-ID: <5npq97$hmk@uwm.edu>
NNTP-Posting-Host: 129.89.139.22
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42938

I'm looking for some documentation on configuring FreeBSD 2.1.7
to allow local CGI programs to be run.

I did the basic setup in sysinstall, and it seems to be
working fine, but when I try to run a CGI script, 
(e.g. href="http://localhost/cgi-bin/whatever.cgi") I get
"you don't have permission to access /cgi-bin/whatever.cgi on this server".

As a shot in the dark, I tried messing with the file and directory 
permissions and ownership, and also running as root, but I always
hit the same roadblock.

I'm new to this web server stuff (is it obvious?), so any pointers
would be appreciated.  There doesn't seem to be any local documentation
on the httpd daemon, unless I'm just looking in the wrong
places.  ( Apropos'd everything I could think of, and looked
through the handbook )

Thanks,

-Jason