LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [solved] Litespeed is switching user id is .htaccess is present

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-29-2012, 02:49 AM
Karl Karl is offline
Member
 
Join Date: Oct 2011
Posts: 16
Default [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,

Last edited by NiteWave; 09-05-2012 at 06:23 PM..
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:35 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.