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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Chmod is broken with Litespeed

Reply
 
Thread Tools Display Modes
  #11  
Old 05-10-2010, 10:30 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
Code:
I can't find that file in my jailed shell. Is it available online somewhere so I can get a copy of default.php?
download the latest standard version(current 4.0.14) lsws to your site's host(or local PC). extract the .tar.gz file, default.php located at lsws-4.0.14/share/autoindex/default.php
Reply With Quote
  #12  
Old 05-10-2010, 06:44 PM
Jedis Jedis is offline
New Member
 
Join Date: Apr 2010
Posts: 8
Doesn't appear to be working.

Note that I don't have a /_autoindex/ directory in my jailedshell.
Reply With Quote
  #13  
Old 05-10-2010, 08:00 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
step 2:
Code:
alias /_autoindex/default.php /home/myusername/test/myindex.php
sorry, alias may not work in .htaccess
refer:
http://httpd.apache.org/docs/2.0/mod...ias.html#alias
Context: server config, virtual host

please ask your host provider to add it to your virtual host configuration file if you can't.
Reply With Quote
  #14  
Old 05-12-2010, 05:02 PM
Jedis Jedis is offline
New Member
 
Join Date: Apr 2010
Posts: 8
I was told by my hosting provider that it cannot be done because cPanel will rewrite the VirtualHost every time.
Reply With Quote
  #15  
Old 05-12-2010, 05:29 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Tell your host to create an include file for this and uncomment the relevant include line in the virtualhost for the domain. These includes exist specifically for things like this. A commented explanation of this is even provided in the httpd.conf by cPanel.
Reply With Quote
  #16  
Old 05-12-2010, 07:06 PM
Jedis Jedis is offline
New Member
 
Join Date: Apr 2010
Posts: 8
I told them and they said they can't (won't) do it because cPanel automatically generates them. Yes, I copied and pasted, word for word, what you said into my support ticket. That was their response.

They offered to move me to another server that uses Apache instead to get around the issue. I'm just going to drop the matter. Perhaps LiteSpeed can make it easier for users on shared hosting to make this change themself with future versions.

Thanks for the help here guys. Sorry it was for nothing.
Reply With Quote
  #17  
Old 05-12-2010, 07:24 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
http://www.cpanel.net/documentation/...irectives.html

Scroll down to "httpd.conf changes contained in a <VirtualHost>"

In short, their reasoning is garbage. But I would agree that it isn't very convenient to customize the directory index. Nor is it even remotely compatible with Apache; which is odd given that LiteSpeed's claim to fame is "Apache interchangeable".
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 02:21 AM.



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