How to create a folder index on a website

Associate
Joined
17 Oct 2006
Posts
1,173
Location
Bristol
Forgive the possibly noob question but I am trying to create an automatically generated index of the contents of a folder that is online.

I have a website with one.com and I would like to be able to point people to a folder that doesn't have any html or PHP etc in it and it just list the contents of the folder. How do I do that?

Thanks in advance for your help
 
Last edited:
From googling it that only applies to Apache web servers. How can I check that one.com host with Apache?

Thanks!
 
Oh right okay. I believe it is Apache as I have uploaded a file with that in but it kicks up an error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
I have made a .txt file that is encoded as non-lossy ASCII with just "Options +Indexes" written on the first line that I then renamed to .htaccess once it was uploaded. Any ideas?
 
Back
Top Bottom