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

Re: Still cant find cgi scripts.!



On Wed, 27 Jan 1999 10:11:39 PST, matt_quelch hotmail com ("Matt
Quelch") wrote:

>when i try to run a cgi script from my web site i sill get:
>
>You do not have permissions to access /cgi-bin/script.pl

If you are using RH Linux, you can (must) manager packages with 'rpm'.
Do 'man rpm' for info.  There is a HOWTO and book.

I need the following to make my scripts work:

> Here's the snip from my /etc/httpd/conf/access.conf:
> 
> <Directory /home/httpd/html/jdq>
> AllowOverride AuthConfig
> Options Indexes ExecCGI
> AuthUserFile /etc/httpd/conf/htpasswd
> </Directory>
> 
> /home/httpd/html/jdq is the directory.

the script needs to be readable and executable, try 'chmod a+rx
myscript.cgi'.  The directory also needs to be readable and
executable, I think, 'chmod a+rx cgi-bin'

you should execute the script from the command prompt too

Best wishes,

-Alan Mead



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