How To Disable "index Of" In Apache

RegisterLogin
How To Disable "index Of" In Apache
Post Description: How To Disable "index Of" In Apache
Tags: How, To, Disable, "index, Of", In, Apache
This Post Was Posted On Aug 11, 2009 By mauricebarb #975
i changed to a new web hosting server, now i see a list of all my files on the images direcotry

i didnt know this until a customer told me. i dont want users to be given an index of all the files i have in one directory, how can i disable this in my apache configuration
Web Hosting Support
#1241 1
follow this instructions:

open: httpd.conf

then look for this line:

Options +Indexes +FollowSymLinks


replace it with this:

Options +Includes -Indexes


save the changes and restart apache web server

/etc/init.d/httpd restart


done
Aug 11, 2009 Reply Report abuse
©2012 Webune Forums - Fri Dec 14, 2012 9:27 am
Powered by: Webune Forums V3