LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   LiteSpeed ignoring custom index files (http://www.litespeedtech.com/support/forum/showthread.php?t=6462)

bobykus 12-14-2012 07:37 AM

LiteSpeed ignoring custom index files
 
v4.2.1

Index Files index.html, index.php, index.php5, index.htm, hostedby.php


Go to


http://some.dk/


get


Index of /

Name Last modified Size Description

cgi-bin 10-Nov-2012 00:10 -
cp 10-Nov-2012 00:10 -
hostedby.php 10-Nov-2012 00:10 1k
images 10-Nov-2012 00:10 -
index.html.in.surftown 10-Nov-2012 00:10 4k
login.html 10-Nov-2012 00:10 4k
robots.txt 10-Nov-2012 00:10 1k
webalizer 13-Dec-2012 23:21 -

Why?

mistwang 12-14-2012 03:51 PM

Maybe index override in .htaccess was disabled.
Try switching back to Apache temporarily, see if you get the same result.

bobykus 12-16-2012 11:20 PM

What is "index override in .htaccess was disabled"?
It is set in admin>configuration>server>Index Files>Index Files
In admin>configuration>server>HT Access>Allow Override all is set to yes
The only .htaccess in user home is force of php 5.2 use

# cat /some/.htaccess
#-------------------------
# To use php5.3 comment this out
AddType application/x-httpd-php52 php52 php
#-------------------------

What exactly I have to check for? The option to switch to Apache is
wrong - more then 2k vhosts is on the server, no downtime allowed.

bobykus 12-16-2012 11:25 PM

Ah, OK - here is the answer.
DirectoryIndex in apache conf file is more important then litespeed one.
Strange...


All times are GMT -7. The time now is 05:19 AM.