im a IIS person, but...

Problems with the Windows version of XAMPP, questions, comments, and anything related.

im a IIS person, but...

Postby admindell » 28. May 2008 16:54

how do i turn off dir browsing in xampp?

dont i use a .htaccess thing?
User avatar
admindell
 
Posts: 28
Joined: 28. May 2008 16:35

Postby Dave_L » 29. May 2008 21:11

Place this line in the directory's .htaccess file:

Options -Indexes

Or if you want to do it globally, you can place it in the httpd.conf file for the relevant directories.
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby LooseCannon » 30. May 2008 08:40

... or in the httpd-vhosts.conf file if you want it to apply to specific sites.
User avatar
LooseCannon
 
Posts: 162
Joined: 18. September 2007 12:07
Location: Hampshire, UK


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 129 guests