Results 1 to 2 of 2
I've got the following line in /etc/apache2/httpd.conf
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
but if I create a file called /var/www/htdocs/test.htaccess and then browse to http://mysite/test.htaccess , it ...
- 06-25-2007 #1Linux Newbie
- Join Date
- Nov 2006
- Posts
- 123
help! able to view htaccess file!
I've got the following line in /etc/apache2/httpd.conf
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
but if I create a file called /var/www/htdocs/test.htaccess and then browse to http://mysite/test.htaccess, it serves up the content of it!
How can i get it to work correctly? This is worrying.
I am using gentoo.
- 06-25-2007 #2Linux Newbie
- Join Date
- Nov 2006
- Posts
- 123
edit: actually don't worry about it i've realised that it has to start with a dot rather than just have that as the extension.


Reply With Quote
