LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   [solved] Litespeed is switching user id is .htaccess is present (http://www.litespeedtech.com/support/forum/showthread.php?t=6199)

Karl 08-29-2012 02:49 AM

[solved] Litespeed is switching user id is .htaccess is present
 
Hi,

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

Folders:

/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:

/home/example/public_html

(don't ask)

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:

/home/example/public_html

when accessing a script via:

sub.example.com/~example/script.php

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.

Thanks,

mistwang 08-30-2012 09:44 AM

It is not something can be easily reproduced in our lab.
Can you please enable debug logging , run one test with .htaccess present, one without, send the section of related log file to bug@litespeed...

mistwang 08-30-2012 09:46 AM

make sure you are using the latest 4.1.13 release, do a force reinstall before running the test.

Karl 08-30-2012 09:59 AM

Hi,

It's on 4.1.13 and we've already tried a force re-install. Will test with debug logging enabled.

Thanks,

Karl 08-30-2012 10:32 AM

So where do I send these logs?

I've got it with and without the .htaccess file present. I can't see anything myself in them that doesn't look right.

I don't fancy posting them here, as they obviously have quite a lot of sensitive info in them.

Thanks,

webizen 08-30-2012 11:05 AM

Quote:

Originally Posted by Karl (Post 34863)
So where do I send these logs?

I've got it with and without the .htaccess file present. I can't see anything myself in them that doesn't look right.

I don't fancy posting them here, as they obviously have quite a lot of sensitive info in them.

Thanks,

you can pm or email to bug@

Karl 08-30-2012 12:42 PM

Hi,

Sent to bug@ about an hour or so ago.

Thanks,

mistwang 09-05-2012 12:30 PM

this issue has been addressed in the latest 4.1.13 build.

Karl 09-05-2012 01:41 PM

Quote:

Originally Posted by mistwang (Post 34904)
this issue has been addressed in the latest 4.1.13 build.

...and it works like a charm, thanks.


All times are GMT -7. The time now is 01:52 PM.