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

Re: cgi



Willem-Jan Meijer wrote:


>There was indeed a cgi-bin in /usr/lib/ but if I put a script in it, it
>doesn't work.
>
>Can someone help me to setup cgi so that it works. A remote-login is
>also possible.

[For mail-lists, will you please turn off the HTML?]

Check /etc/apache/httpd.conf for the following:

Make sure that the line "LoadModule cgi_module /usr/..." is not
commented.

Be sure that

"ScriptAlias /cgi/bin /usr/local/lib/cig-bin/"

exists and references the proper directory.

The following should exist:

	<Directory /usr/local/lib/cgi-bin/>
		AllowOverride None
		Options ExecCGI
		Order Allow, Deny
		Allow from all
	</Directory>

If these things are in your httpd.conf file, you should be good to go.
Don't forget that if you change httpd.conf, you will need to restart
Apache if it is running stand-alone (and it should be).

You should also go to http://www.apache.org/ and check out the mailing
lists.  There may be a Dutch language list.  You may join the (en)
users' list by sending a blank email to:
<users-subscribe@httpd.apache.org>

Oh, and make sure you've got your HTML syntax right to call your script.

--
gt       kk5st@sbcglobal.net
It ain't so much what you don't know that gets you in trouble---
it's what you do know that ain't so.--unk



Reply to: