[solved] Litespeed is switching user id is .htaccess is present
We have an odd issue, we have an account, that was moved from one drive to another, with a symlink in place from old location to new:
/home/example -> /home2/example
/home/example/public_html -> example.com
/home/example/public_html/sub -> sub.example.com
We have userdir enabled, so that: sub.example.com/~example would load content from:
Now this all works fine, and a PHP script getting the posix_userid() returns the correct user ID.
Now if we place a .htaccess file in:
when accessing a script via:
it outputs 99 - the nobody user. If we remove the .htaccess from /home/example/public_html then the self same script gives the correct userid for the example user.
Any help much appreciated, this seems a bit of a bug. The .htaccess is empty, nothing in it at all. All files and directories have the correct example user ownership.
Last edited by NiteWave; 09-05-2012 at 07:23 PM..