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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > htaccess and DocumentRoot

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2009, 02:10 AM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Question htaccess and DocumentRoot

Hi!

I am an LS Enterprise edition owner and I have noticed that while Apache tries to open and process .htaccess files located in every subdirectory containing the docroot (for example if docroot is /home/example/www, apache will process /.htaccess, /home/.htaccess and /home/example/.htaccess), LS doesn't! This is very crucial to CPanel because, for example, it uses it (through /home/example/.htaccess in order not to interfere with the actual website's .htaccess in /home/example/www/.htaccess) to enable users to choose between PHP versions!

Is it possible to add this feature to LS?

Thanks in advance!

Last edited by priestjim; 04-14-2009 at 03:44 AM..
Reply With Quote
  #2  
Old 04-14-2009, 12:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
We will add that to 4.1 release.
Reply With Quote
  #3  
Old 04-14-2009, 12:38 PM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Could you give me a rough ETA for version 4.1? I'm really burning my heels here...

Thanks anyway
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #4  
Old 04-27-2009, 09:37 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
We have produced a 4.0.3 release package including this. You can give a try.
Just change the version number in the download link.
Reply With Quote
  #5  
Old 04-28-2009, 01:15 AM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Thank you for your prompt response! I've downloaded the new version and tested it and it works however I get some strange behavior. Normally, LSWS should parse the extra-docroot .htaccess on-the-fly, on par with the actual .htaccess files inside the docroot but it doesn't, it requires a graceful restart in order to read the extra-docroot .htaccess file (which is what I was trying to avoid in the first place-lsws restarting for a single .htaccess file change).
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #6  
Old 04-28-2009, 10:36 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Just touch the .htaccess inside the docroot, it will reload both htaccess file, no need to restart the server.
Reply With Quote
Reply

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 08:19 PM.



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