FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How do I enable directory viewing when theres no index page?





Agent ME
Exactly the topic name - how can I make it so the user will get a list of files in a directory when he tries to go to a directory that has no index page?
Marston
By default, if there is no index file in a directory, Apache will recursivley list directory files...

In other words, you don't have to do ANYTHING to allow your users to view directory files other than NOT include an index file.
Agent ME
Then why do I get a 403 Forbidden Error here?
http://am37.frih.net/sig/include/

But going to a file on the inside works:
http://am37.frih.net/sig/include/class.pagegen.phps
Bondings
Create a .htaccess file with content "Options +Indexes". This will display all files. This is off by default due to security reasons (most of the time you don't want people to know which files are in that directory).
Agent ME
Thanks, that worked perfectly.
Related topics
Problems With Index Page
Not Changing Index Page Often Increased (Page)Ranking 4 SE ?
where is my index page in cpanel?!
one more line on forum index page
Put the last 10 topics from my phpBB forum on the index page
Only index page crawled
how to make blog show on my index page
Speeding up the phpBB 2 forum index page
Uploading help needed.......Please?
cannot update the index page from cp.frih.org
Add number of posts on the forums index page
Only index page crawled
Latest Post or Replies at forum Index Page
How to make my forum the index page for my site?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.