I have a site that runs the cgi scripts from the local web directory. I have added the following code in apache directives, however I don't want people to be able to list a folder. Can someone show me how to correct this: My Directive: <directory /var/www/web2/web> Options ExecCGI Multiviews Indexes FollowSymLinks Includes SymLinksIfOwnerMatch IncludesNoExec AllowOverride all allow from all </directory> Thanks for your time.
You can put - sign before Indexes, like this: Code: <directory /var/www/web2/web> Options ExecCGI Multiviews -Indexes FollowSymLinks Includes SymLinksIfOwnerMatch IncludesNoExec AllowOverride all allow from all </directory>