Directory Browsing

  • miservices
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 19, 2004
  • Posts: 10
  • Status: Offline

Post April 23rd, 2004, 2:48 pm

i do i enable directory browsing on apache2

everytime i find something on a search it has everything to do with apache1 because the config files are very different.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 23rd, 2004, 2:48 pm

  • manojthadani
  • Born
  • Born
  • No Avatar
  • Joined: Mar 30, 2006
  • Posts: 1
  • Status: Offline

Post March 30th, 2006, 11:03 am

1. Edit the file httpd.conf which can be found in /etc/apache2.
2. Look for the entry

# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>

comment out the above lines.

3. Add the following lines

<Directory "/srv/www/htdocs/test">
Options Indexes FollowSymLinks MultiViews
</Directory>

assuming your document root is /srv/www/htdocs and test is a folder created in it, then test becomes browseable.
  • meman
  • Web Master
  • Web Master
  • User avatar
  • Joined: Aug 03, 2004
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap
  • Status: Offline

Post March 30th, 2006, 4:10 pm

If you have no access to the config files for apache you can make a php script to replicate the directory browsing.
GodBeGone - Atheist Blog

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 56 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.