Taperssection.com
Gear / Technical Help => Post-Processing, Computer / Streaming / Internet Devices & Related Activity => Topic started by: pwig on December 27, 2010, 09:50:06 PM
-
I have tried for many years to maintain a website of my recordings, both those I recorded and my collection. Because it is quite a bit of work to keep up with this, I would like to create links from a webpage to a folder of the setlists of each band. How do you just create a link to a folder that would show the contents of the directory without having to create a page with hyperlinks with 100's of links?
Thanks if you can help...
-
Make the link to the folder and it will, by default, show the contents of the directory as long as there isn't a file in the folder named "index" or "home".
-
Make the link to the folder and it will, by default, show the contents of the directory as long as there isn't a file in the folder named "index" or "home".
Yeah - like
http://www.somedomain.com/thefolder/
Should do it...it might not be pretty - but will work..
And - there are probably some php scripts that can make a "prettier" index page...
-
the two gents are right, index.html is standard.
it may be best to disable indexing to prevent it from showing contents of an entire folder. If there is no index.html file, they will get a forbidden warning as opposed to the directory.
-
scriptware like:
http://freshmeat.net/projects/autoindex
or
http://rok.fpp.edu/projects/digital_archive/
might be fun... :-*
-
When I just write the code to link to the folder I always get the 403 forbidden page.
Are you suggesting to link to a page with some of the scripts located in the code to get a "pretty" type directory?
Thanks for the ideas...
-
When I just write the code to link to the folder I always get the 403 forbidden page.
Are you suggesting to link to a page with some of the scripts located in the code to get a "pretty" type directory?
Thanks for the ideas...
Ok - been a while, but I think to allow indexing of subdirectories you have to change something in the apache config file (the exact name of which escapes me) This assumes you have some sort of apache/linux host...
The scripts mentioned above would likely live in the same directory that you are trying to display - calling them would produce the "pretty" directory list (you can probably edit its looks as well)
-
I just uploaded the AutoIndex script mentioned above...
http://rovingsign.com/indexme/index.php
Pretty simple, upload, point, shoot.
-
This is exactly what I was looking for - thank you!
Now I need some different help - where do I upload this script? I host with godaddy and will also need to know if I need to make any hosting changes as my account is currently set up as Linux hosting.
Again, thank you!
-
This is exactly what I was looking for - thank you!
Now I need some different help - where do I upload this script? I host with godaddy and will also need to know if I need to make any hosting changes as my account is currently set up as Linux hosting.
Again, thank you!
I think the script has to live in the directory you want indexed...you'll call
http://www.domain.com/thedirectory/index.php
If you put it in the root - it should show all sub folders...
http://www.domain.com/index.php
You do need to have php - which you should have. Generally, commercial servers are configured to treat index.php as the default file...
-
Perfect - got it! Thank you!