You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Owen Boyle <ob...@bourse.ch> on 2002/01/09 13:00:35 UTC
Re: CGI 403 error though the user www-data can run the script from a
shell
"Alain Tésio" wrote:
>
> Hi, I have a permission error 403 when on a cgi script,
> it used to work and I have no idea why it fails now:
So what did you change? :-)
> $lynx --source http://www.floc.net/www_exarch.py
This line implies that you want your document root to be a CGI
directory. Do you?
If so, you should have;
ScriptAlias / /home/exarch/www
rather than:
> ScriptAlias /www_exarch.py /home/exarch/www/www_exarch.py
Which is odd - why do you have ScriptAlias pointing to a file? Normally,
it is used to define a directory which contains several CGI programs.
Try sorting out the config and repost if you still have problems - the
behaviour may be clearer tehn.
Rgds,
Owen Boyle.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org