View Full Version : How to make a folder contents viewable to public?
Scorbles
December 16th, 2007, 19:02
Hopefully this is a very simple request. I host with godaddy (I know, I know). I have a bunch of files in a folder and would like people to be able to access the file list my going www.mysite.com/Folder/
Right now it just returns a Page Not Found message. I have played around the the permissions on the folder but no luck. Any ideas?
Thanks!
Marky
December 17th, 2007, 10:02
have you tried changing the chmod permissions?
Decker
December 17th, 2007, 10:15
Unless they allow you to enable indices you can't unless you write a simple page with a list and links to each file.
serverorigin
December 19th, 2007, 16:59
Two ways...httpd.conf or .htaccess - example:
Options +Indexes
So, the complete sequence looks like:
$ cd www.example.com/htdocs/foo
$ echo "Options +Indexes" > .htaccess
Schmarvin
December 23rd, 2007, 01:22
There is a PHP Opendir function which allows a user to fully open a directory to the public. But, its a big security hole. ;)
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.