Page 1 of 1

Stop directory listing in Apache - Help!

PostPosted: 10. July 2009 11:54
by BiL0
Hello,
I've been using XAMPP for sometimes on Ubuntu 8.04 server
what I noticed is that if I put a partial URL then I get the directory listing of the previous directory which I think is a security problem.
I tried to search for Apache but all refer to an Apache2.conf which I think the XAMMP does't use.
Can you please let me know how to stop this from happening.
thank you in advance for your reply
BiL0

Re: Stop directory listing in Apache - Help!

PostPosted: 10. July 2009 12:36
by Nobbie
If you installed Xampp and use Xampp, the configuration of Apache takes place in /opt/lampp/etc/httpd.conf

You should look for the "Options Indexes" which causes directory listings.

solved: Stop directory listing in Apache - Help!

PostPosted: 10. July 2009 17:06
by BiL0
thank you

I had to add the - in front of Indexes and it has worked
this is good
so I have
Option Indexes FllowSymLinks etc etc
and I changed it for
Option -Indexes FllowSymLinks etc etc
:o)
that was easy
thank you all
BiL0