I use CGIWRAP (A CGI wrapper!) to execute my CGIs. It works by you calling /cgi-bin/cgiwrap?user=<username>&script=<scriptname> And expects the scripts to come from /%HOME%/<username>/public_html/cgi-bin/<scriptname> Where <scriptname> is owned by <username> This will stop the script with meaningful errors (i.e, instead of Error 500!). You can even run cgiwrapd instead of cgiwrap which is a debugging cgi wrapper. Find CGIWRAP on freshmeat. untar cgiwrap. compile copy the 2 executables (cgiwrap and cgiwrapd) to /usr/local/httpd/cgi-bin Make the symlinks as described in README. CGIWRAP is used primarily as a more secure way of executing CGI scripts - as they are run as the owner of the script. Kev
-----Original Message----- From: Keith Warno [mailto:keith@HaggleWare.com] Sent: 10 May 2000 16:57 To: suse-linux-e@suse.com; Linux Subject: Re: [SLE] apache cgi-bin /'s
If you've set the permissions (via chmod) correctly, then your apache config (ie, httpd.conf) is probably FUBARed.
Apache could be denying you permissions to enter the directory, or the directory may not, in fact, be a script-aliased dir or a dir with the ExecCGI option set. If you are using the ExecCGI option you may need add a handler via the AddHandler directive.
Check your apache log files, notably the error log.
kw /* Keith Warno ** Developer & Sys Admin ** http://www.HaggleWare.com/ */
----- Original Message ----- From: "Linux" <Linux@KidsCare.Net> To: <suse-linux-e@suse.com> Sent: 10 May 2000, Wednesday 11:17 Subject: [SLE] apache cgi-bin /'s
I am trying to get some cgi's that I downloaded to work not sure what I've done wrong tho. I put the cgi's in /usr/local/httpd/cgi-bin/*.cgi. Thats where the default apache cgi's are! I set the permissions exactly like the read me says to for all the files involved however when I goto netscape to run the cgi no worky :( It says that I do not have permision to run cgi but I set the permisions exactly like the documentation said? Any ideas as to where I screwed up on this one?????????????????????? Thanks again!
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/