httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain TÚsio <>
Subject CGI 403 error though the user www-data can run the script from a shell
Date Wed, 09 Jan 2002 10:57:18 GMT
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:

www-data /home/exarch/www $lynx --source
<TITLE>403 Forbidden</TITLE>
You don't have permission to access /
on this server.<P>

In error.log:

[Tue Jan  8 13:41:06 2002] [error] [client] file permissions
deny server execution: /home/exarch/www/

However from a shell with the user running apache I can execute it:

www-data /home/exarch/www $./
Content-type: text/html

No list given

So if this is a configuration error the "file permissions" error
message is wrong ?

In the apache configuration file:
ScriptAlias / /home/exarch/www/

www-data is a member of the group exarch, and the script has g+rx rights:

exarch /home/exarch/www $ls -l
-rwxr-x---    1 exarch   exarch       1174 Dec 16 15:59

Any idea ? I know I can probably manage to fix it with user and group
ownership tweaks but I'd like to understand why there is a permission
error while I can execute it from a shell.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message