suexec and access errors

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

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux