PDA

View Full Version : [ubuntu] apache2 help


ryanf4321
March 18th, 2010, 07:53 PM
hi, I'm learning about apache and I was just wondering what is the best way to turn off cgi's and directory listings. Right now I have a .htaccess file in the folder that contains my "site" and within the file i have:

Options -Indexes
Options -Execcgi
IndexIgnore *

Is this the proper way or is there a bigger config file somewhere else that I should be making changes to?