filesystem acces with apache

Hi guys

I want apache2 to display the filesystem how do i do this. i know this is not a wise thing to do :shame:… it is for a small hackme for some first years students at my school… so can any one help me. I have almost no experience in apache.

thanks in advance

Sander

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just set your Apache DocumentRoot directory to ‘/’. Modifying about two
or three lines in your httpd.conf file will get you where you need to
be. Give it a try and see what you can find. You may also need to
change the order to Allow,Deny if you already have a line in there
specifying ‘/’ which I think is the default.

Good luck.

sand3r wrote:
> Hi guys
>
> I want apache2 to display the filesystem how do i do this. i know this
> is not a wise thing to do :shame:… it is for a small hackme for some
> first years students at my school… so can any one help me. I have
> almost no experience in apache.
>
> thanks in advance
>
> Sander
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJhOe53s42bA80+9kRAhD9AJ4sD/zoCN4Wt+q0S05YaP42L4cxaACfUgAa
mJMVCa538zmCaAMsWoyB79U=
=71uU
-----END PGP SIGNATURE-----

Yes, it’s not a wise thing to do, and you know it, so why do you want it? Maybe there is a better way to do it.

This does wath i asked for but not what i meant.

what i meant is. they get to the web site witch is just as /etc/www/htdocs.
What i need is to get a part of the file system when they go to for example 192.168.1.13/…/…/
So i need to get out of the chroot…

sand3r