|
|

05-08-2008, 07:38 PM
|
|
Member
|
|
Join Date: May 2008
Posts: 41
|
|
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!
|

05-08-2008, 09:40 PM
|
|
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.
|

05-09-2008, 07:07 AM
|
|
Member
|
|
Join Date: May 2008
Posts: 41
|
|
Quote:
Originally Posted by mistwang
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
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!
|

05-09-2008, 09:37 AM
|
|
Senior Member
|
|
Join Date: Nov 2007
Location: New York
Posts: 723
|
|
|
in /opt/lsws/httpd_config.xml
|

05-09-2008, 11:14 AM
|
|
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?
|

05-09-2008, 11:15 AM
|
|
Senior Member
|
|
Join Date: Nov 2007
Location: New York
Posts: 723
|
|
|
Try the conf directory
|

05-09-2008, 11:25 AM
|
|
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.
|

05-09-2008, 08:22 PM
|
|
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.
|

05-10-2008, 07:45 AM
|
|
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...
|

05-12-2008, 12:56 PM
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 08:07 PM.
|
|