mind04 / mod-ruid2

mod_ruid2 is a suexec module for apache which takes advantage of POSIX.1e capabilities to increase performance.
Apache License 2.0
57 stars 22 forks source link

First Request with wrong uid/gid #16

Open roli8200 opened 7 years ago

roli8200 commented 7 years ago

When opening a website with DocumentRoot chmod 700, the first request for .htaccess file is made with the permissions of apache:

[Mon Jun 26 11:10:46 2017] [crit] [client xxx.xxx.xxx.xx] (13)Permission denied: /var/www/site_a/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

and apache brings a 403 Forbidden. Which makes the whole construct unusable!

ju5t commented 7 years ago

@roli8200 this should be fixed with #8 but unfortunately it doesn't seem like it will be merged any time soon. If you are in a situation where you can compile mod_ruid2 yourself perhaps the fix in #8 can be an acceptable solution.