Page 1 of 1

disbaling directory browsing

PostPosted: 18. September 2007 05:42
by anicol
Is there a way to disable directory browsing in xampp?

PostPosted: 18. September 2007 06:32
by Stepke-DSL
Hi,

You must edit your Apache config-File.
There must be a line like
Code: Select all
Options +Indexes

This line must be edit to
Code: Select all
Options -Indexes

Or you save a .htaccess to the Folder (root) with
Code: Select all
Options -Indexes


I hope it helps you.

Greets Stepke

PostPosted: 18. September 2007 13:42
by anicol
You are awsome I did this

save a .htaccess to the Folder (root) with

Options -Indexes


because I did not know what config file to edit.