Re: Weird character & CGI?

=?iso-8859-1?B?VGFt4XMgwXJw4WQ=?= (sts@mail.datatrans.hu)
Mon, 8 Mar 1999 18:17:45 +0100


>I wrote a cgi program "helloworld.cgi" and a "test.html". I used
"perl
>helloworld.cgi" under linux, it works correctly, but when I use
netscape
>to open test.html and push the button. Apache1.3 server told me that
you
>don't have right to access helloworld.cgi. How can I solve this
problem?
>

Hi
It sounds like you haven't set the cgi-bin dir corretly in config
files.
you should put this lines to the access.conf

<Directory /home/httpd/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>

change the dir names to yours, and put another line to srm.conf

ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/

put the cgi-s to this dir, and make sure that it can be executed by
anyone or at least by the user/group what httpd uses.

STS

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu