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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Virtual host index file value not saving

Reply
 
Thread Tools Display Modes
  #1  
Old 05-08-2008, 07:38 PM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
Default Virtual host index file value not saving

Ok, so I have this bad boy humming away (very fast) with the standard edition but I have an issue...

I have a php script as my index (index.php), but it does not load, instead litespeed is looking for index.html

as I understand this setting is available in two spots:

1) Virtual Hosts --> [my host] --> general --> Index Files

and

2) Configuration --> Server --> Index Files

when I set the first value in the virtual host and save it it displays fine, but when I switch tabs the value goes back to index.html.

so I dicided to set my master server configuration to index.php and set 'Use Server Index Files' in the virtual server area.

Problem is, when I switch tabs or reload the page the 'Use Server Index Files' value defaults back to NO

How can I get this to work? Is some configuration file in the server software not writable, or am I just going crazy?

Please help with my issue, Thanks!
Reply With Quote
  #2  
Old 05-08-2008, 09:40 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Looks like you do have a permission problem. Check the configuration file see if it changed?
If you install LSWS to your home directory, you may have this problem, install it to /opt/lsws or /usr/local/lsws.
Reply With Quote
  #3  
Old 05-09-2008, 07:07 AM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
Quote:
Originally Posted by mistwang View Post
Looks like you do have a permission problem. Check the configuration file see if it changed?
Where is the configuration file, and what is it named, also should it be CHMOD to 777?

Quote:
Originally Posted by mistwang View Post
If you install LSWS to your home directory, you may have this problem, install it to /opt/lsws or /usr/local/lsws.
I did install it into the /opt/lsws directory

Thanks for your help!
Reply With Quote
  #4  
Old 05-09-2008, 09:37 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
in /opt/lsws/httpd_config.xml
Reply With Quote
  #5  
Old 05-09-2008, 11:14 AM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
the only files there are license and version files, could the config files be in any other directory?
Reply With Quote
  #6  
Old 05-09-2008, 11:15 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Try the conf directory
Reply With Quote
  #7  
Old 05-09-2008, 11:25 AM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
I set this to 777, all permissions to everybody, but it still resets when I navigate away then come back, any more suggestions? Id hate to have to take this down because of such a silly, but important thing. Thanks for your input.
Reply With Quote
  #8  
Old 05-09-2008, 08:22 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Have you tried to harden the security under the lsws directory? The default installation should work just fine. Maybe you should remove /opt/lsws directory and reinstall it from scratch.
You can manually change the lsws/conf/httpd_config.xml, the worst case.
Reply With Quote
  #9  
Old 05-10-2008, 07:45 AM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
I just went live on this site, I will have to edit the xml file manually, not the end of the world I guess...
Reply With Quote
  #10  
Old 05-12-2008, 12:56 PM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
after CHMOD ing all the files in the conf directory (within the virtual host) everything works fine now, and I can change the persmissions back after editing
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:07 PM.



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