merely out of thin air the error log of a domain reports this:
[Sun Jul 31 15:41:40.701383 2022] [core:crit] [pid 20833:tid 140391919634176] (13)Permission denied: [client x.x.x.x:y] AH00529: /var/customers/webs/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/customers/webs/user/' is executable
userdirs usually get created "drwxr-x---" by froxlor. had to change this userdir using "chmod +x" to get "drwxr-x--x" and things worked fine then.
this is a problem that seems to appear if the docroot is another subdirectory and the user places a .htaccess file there, otherwise this seems to be no issue...
a bit strange, but it seems this way.
and yes, the user-group does containt www-data as a member, the system is running ubuntu 20.
finally rebooted the system and changed permissions of the userdir back to 0750.
it seems this issue is somehow related to libnss-extrausers not delivering correctly, yet replication of the problem seems hard.
Question
hk@
Hi
quite similar to https://forum.froxlor.org/index.php?/topic/16806-server-unable-to-read-htaccess-file/#comment-37628
merely out of thin air the error log of a domain reports this:
[Sun Jul 31 15:41:40.701383 2022] [core:crit] [pid 20833:tid 140391919634176] (13)Permission denied: [client x.x.x.x:y] AH00529: /var/customers/webs/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/customers/webs/user/' is executable
userdirs usually get created "drwxr-x---" by froxlor. had to change this userdir using "chmod +x" to get "drwxr-x--x" and things worked fine then.
this is a problem that seems to appear if the docroot is another subdirectory and the user places a .htaccess file there, otherwise this seems to be no issue...
a bit strange, but it seems this way.
and yes, the user-group does containt www-data as a member, the system is running ubuntu 20.
finally rebooted the system and changed permissions of the userdir back to 0750.
it seems this issue is somehow related to libnss-extrausers not delivering correctly, yet replication of the problem seems hard.
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now