Hello,

using suexec, it's possible that a file is not accessible by
the apache user, but still accessible (through a script) to
the HTTP client.

So my configuration looks like this:
<VirtualHost *:80>
  ServerName test.host
  ServerAlias test.host.vollmann.ch
  DocumentRoot /test/www

  SuexecUserGroup wwwtest test

  ScriptAlias /test /var/www-suexec/test/auth-command

  # avoid error logs about non-accessible htaccess files:
  <Directory /test>
     AllowOverride None
  </Directory>
</VirtualHost>

Now the client sends a request like
<http://test.host/test/data/info/index?service=get>

And the script handles that request and everything is fine.
But in the error log I find an entry:
 (13)Permission denied: access to /data/info/index denied
This is (probably) because the apache user has no access
to /test/www/data/info, neither read nor execute.

How can I avoid this (bogus) error entry?

Running Apache/2.2.9 on Linux (Debian lenny).

  Detlef

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to