Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.net!imci4!newsfeed.internetmci.com!bloom-beacon.mit.edu!eru.mt.luth.se!news.kth.se!news From: tomasg@sec11.dsv.su.se (Tomas Gustavsson) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help with Apache Date: 22 Aug 1996 08:35:17 GMT Lines: 31 Message-ID: <4vh645$7j6@news.kth.se> References: <4ut3rj$jhj@murphy2.servtech.com> NNTP-Posting-Host: sec11.dsv.su.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 In article <4ut3rj$jhj@murphy2.servtech.com>, pygmy@cyber3.servtech.com (hoo-chuan tan) writes: >I'm running and BSD machine, and trying to get Apache v1.1 to work >properly with it. Apache lets me access all my web pages on the >machine, however, I'm having difficulty getting Apache to run CGI >scripts properly. Can someone please tell me how to set up Apache >properly such that the CGI scripts are being run? > >Miscellaneous information: >I believe I've set up all the proper configuration files in access.conf >and httpd.conf. However, when I try to access the cgi-bin directory, it >says that the cgi-bin directory was not found on the server. > >Thanks for your help in advance! There should be no problems, I have it working perfectly. You must have the line: ScriptAlias /cgi-bin/ /usr/local/etc/httpd/htdocs/cgi-bin/ in the srm.conf file (it is commented in the example files). The check that the cgi-bin directory exists in the htdocs directory and is WORLD readable. Regards, Tomas Gustavsson Computer Security Technologies CST AB Email: tomasg@cost.se Tel: +46 8 16 17 01 Fax: +46 8 471 77 22