Overclock.net banner

Index page that list items in folder

474 Views 11 Replies 3 Participants Last post by  DanielF50
Hey Guys and Gals,

You may have seen my post from about a week ago, that I have now fixed, and am now having trouble finding any info on how to set up a php/.html file that will link all my files in the folder "/uploads" on the index page of "/uploads"

Any info would be greatly appreiated

Thanks
Daniel

Edit: went on to the ftp @ firefox and saved the ftp site as a html file, I can now do what I wanted to be able to do, but I dont think this will auto update. http://pwnstars.co.uk/uploads/
1 - 12 of 12 Posts
Just turn on Options Indexes in your server configuration and let Apache do it.
2
Quote:


Originally Posted by error10
View Post

Just turn on Options Indexes in your server configuration and let Apache do it.

Wow, thanks for the fast reply error10, how would I go about doing that?


Daniel
See less See more
2
Quote:

Originally Posted by DanielF50 View Post
Wow, thanks for the fast reply error10, how would I go about doing that?


Daniel
Depends on your web hosting provider. But usually you put a file called .htaccess in the top of your web root and the line goes in there. It'll be either:

Options Indexes

This might give you 500 Internal Server Error. If it does, change it to:

Options +Indexes

If neither of those work, open a support ticket with your web hosting provider or check their FAQ's.
See less See more
  • Rep+
Reactions: 1
Heya Error10,

Neither worked and I have asked Streamline.net to enable it for me =]

If they get this working, will I need to make a index file? and if so what will I put in it? if I dont, how will it bring up the list of files?


Thanks for all your help
Daniel
See less See more
Using Apache's default index is certainly better, but some hosts do not allow it. If this is the case, this script should take care of you http://autoindex.sourceforge.net/

If they do enable it you will not need to make an index file.
  • Rep+
Reactions: 1
2
Quote:


Originally Posted by DanielF50
View Post

Heya Error10,

Neither worked and I have asked Streamline.net to enable it for me =]

If they get this working, will I need to make a index file? and if so what will I put in it? if I dont, how will it bring up the list of files?


Thanks for all your help
Daniel

No, the whole point is that the server will automatically make the indexes for you.
See less See more
Thanks Guys,

I got a reply from streamline.net today saying;

"Thank you for your query

Unfortunately all of our shared platform servers are set to pre-arranged security configurations. As a result no extra components or modules can be installed.

Sorry that I cannot assist you any further in this matter"

So Im using AutoIndex now =] (thanks bstew)

Daniel
See less See more
Bah, time for a new web host. I wouldn't accept that sort of lame blow-off.
See less See more
ah well... there pretty cheap and give me quite alot of stuff so i cant complain really =]

Daniel
Yea I've had a few cheap hosts pull that on me. There's another autoindex script I've seen somewhere if you don't like that one.
I like AutoIndex, but mind if I try the other one, if you can find it ofc, I might like it more


Thanks again for your help :]
Daniel
See less See more
1 - 12 of 12 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top