.htaccess hyperlinked indexed listing of folder contents

#1
Hi there, I have just transferred my website from a third party hosted Apache server to a third party hosted LiteSpeed server and all went well, except that I have lost the ability to access a hyperlinked indexed listing of certain folders contents by including a .htaccess file that contains this :-

<IfModule mod_speling.c>
CheckSpelling on
</IfModule>
Options +Indexes

My ISP said that this functionality is not available on their LiteSpeed server upon which our website is now hosted. Is this because it is an unsupported feature of LiteSpeed, or would it be more likely to be a policy imposed by my ISP?

Is there any other way you can suggest I can restore the hyperlinked indexed listing of folders content?

Thanks in advance for any advice you can offer. Mack.

(Here is what hyperlinked indexed listing looks like, if you are not familiar :- http://levien.com/webfonts/fontfiles/)
 

NiteWave

Administrator
#2
I did tests on a lsws native virtual host:
Options +Indexes
in .htaccess works.

your requests actually need support
Options +Indexes
in .htaccess, not relating to mod_speling which lsws don't support

I've not tested on a virtual host from apache's httpd.conf.
but in general, if
AllowOverride All or
AllowOverride Options
is set at your virtual host(by your ISP) configuration,
Options +Indexes
in .htaccess should work and you can have the control.
AllowOverride document:
http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
 
#3
Thanks for your reply. Unfortunately I've discovered my ISP does not allow the use of .htaccess files on their LiteSpeed server and they disappear with seconds of uploading them. I have used a workaround of an index.php file containing the code to list the contents of the current directory, however I still have no solution to the case-insensitive URLs without using the "CheckSpelling on" option in .htaccess. Anyone have any suggestions for a workaround for this?
 

NiteWave

Administrator
#4
can you tell why you need mod_spelling feature ? it's a bad choice in performance point of view.

if you do need it, I think modify the index.php can archive it.
 
Top