add
IndexIgnore *
in the end
On 4/9/07, Al-Faisal El-Dajani <[EMAIL PROTECTED]> wrote:
> Hey all,
> I am trying to secure apache a bit, and prevent directory browsing. I
Google'd a bit, and here is what i added to my apache2.conf file:
>
> <Directory />
> Order Deny,Allow
> Deny from all
> Options None
> AllowOverride None
> </Directory>
>
> <Directory /var/www>
> Order Allow,Deny
> Allow from 192.168.1.0/24
> Options -Indexes -ExecCGI -Includes
> </Directory>
>
> Now, if i understood it right, in /var/www the "options -indexes" part
should prevent directory browsing, correct? However when i navigate to any
directory that doesn't contain an index file, i can browse it in apache. How
could i fix that?
>
> --
> Al-Faisal El-Dajani
> Phone: +962-7-77 799 781
> P.O Box: 140056
> 11814 Amman, Jordan
> >
>
--
Ala'a A. Ibrahim
http://guru.alaa-ibrahim.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Jolug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---