Directory Browsing

  • miservices
  • Newbie
  • Newbie
  • miservices
  • Posts: 10

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • manojthadani
  • Born
  • Born
  • manojthadani
  • Posts: 1

Post 3+ Months Ago

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

comment out the above lines.

3. Add the following lines

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

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
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap

Post 3+ Months Ago

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

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 24 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

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.