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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Autoindex & httpd.conf

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2006, 05:17 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Autoindex & httpd.conf

I import configuration from httpd.conf (Apache/cPanel), but the autoindex doesn't work. How could I enable autoindex for all APVH?

The options in Server->General are set to:
Auto Index Yes
Auto Index URI /_autoindex/default.php

Last edited by slimak; 11-11-2006 at 05:26 AM..
Reply With Quote
  #2  
Old 11-11-2006, 05:36 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default It works

Now it works in new version of LiteSpeed (2.2.5), but I have a problem with open_basedir:


Warning: Unknown(): open_basedir restriction in effect. File(/usr/local/lsws/share/autoindex/default.php) is not within the allowed path(s): (/home/lsws:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Warning: Unknown(/usr/local/lsws/share/autoindex/default.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: Unknown(): open_basedir restriction in effect. File(/usr/local/lsws/share/autoindex/default.php) is not within the allowed path(s): (/home/lsws:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Warning: Unknown(/usr/local/lsws/share/autoindex/default.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/usr/local/lsws/share/autoindex/default.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
Reply With Quote
  #3  
Old 11-11-2006, 05:43 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Solution

I moved the autoindex directory from /usr/local/lsws/share/autoindex to /usr/lib/php/autoindex, created symlink and now it works. You may close/delete that ticket.
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 01:50 AM.



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