Hi,
I am noob on linux so sorry if this question sounds stupid.
I have installed apache2 on centos 5 using this tutorial (
http://library.linode.com/lamp-guides/centos-5/).
I want to remove directory listing feature. that is, when someone, types
http://mysite.com/abc/
He should not see files in that folder.
For that, there is a way to do in .htaccess,
Options -Indexes
I did grep -i AllowOverride httpd.conf and i got
Code:
AllowOverride None
# AllowOverride controls what directives may be placed in .htaccess files.
AllowOverride None
# AllowOverride FileInfo AuthConfig Limit
# for additional configuration directives. See also the AllowOverride
AllowOverride None
AllowOverride None
AllowOverride None
So, my question is
1) where do i find .htaccess file? (All, php and .html files are in var/www/html )
2) AllowOverride is None, so will my .htaccess file work?
Thanks