Hi,

since 2.2.11-01-1+b1 apache fails to read .htaccess files which aren't
world-readable. For the sake of testing I reverted my vhost setup to
"AssignUserId www-data www-data" and tried it with a .htaccess file in the
DocumentRoot owned by www-data:www-data set to 640. An attempt to retrieve
http://server/ generates the attached trace-640 and FAILS with a 403, the
error.log simply states
*******
[Tue Apr 14 23:51:01 2009] [crit] [client 10.0.0.101] (13)Permission denied:
/var/www/http/.htaccess pcfg_openfile: unable to check htaccess file, ensure it
is readable
*******
Another attempt with .htaccess set to 644 generates trace-644 and the retrieval
succeeds. Just for the sake of completeness: after a chmod 644 .htaccess (from
640), a reload on the client immediately succeeds. On a chmod back to 640,
apache2 needs a restart for the request to fail again - obviously in order to
wipe the .htaccess cache.

I've experienced this behaviour on severals hosts, some of them with a pretty
unspectacular testing-default-install without any changes to
sites-available/default and just an EMPTY .htaccess put into /var/www - so the
error's not content-related.

I don't know if this issue is limited to mpm-itk or if other apaches have the
same problem. All the machines I currently have access to are production
machines and shouldn't be messed with, I'll have to setup a test-vm to check
that and hand in these info later.
If you need any further information, I'll gladly provide them.

Cheers

Daniel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to