Web-server – List directory contents on website hosted by LiteSpeed

.htaccesslitespeedweb-server

I have a website (say www.example.com) being hosted on a LiteSpeed webserver.

I've created a directory at www.example.com/media but I'm unable to list the contents and get a 404 error. How can I fix this?

Best Answer

If this is an Apache Server you could try creating a file called .htaccess in the media directory with the following contents

Options   Indexes

If suitably configured this will allow and Apache server to provide directory listings.

Related Topic