determining if .htaccess is working
Posted
by Toc
on Server Fault
See other posts from Server Fault
or by Toc
Published on 2010-03-08T15:33:08Z
Indexed on
2010/03/08
16:51 UTC
Read the original article
Hit count: 535
Following some guide on the web, I have created the following .htaccess for my WordPress installation:
# protect the htaccess file
<files .htaccess>
order allow,deny
deny from all
</files>
# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>
plus chmod wp-config.php 600 and .htaccess 644
.
Which is the simplest way I can test if it is working properly? In case, I can create some other files to verify the work. I only want to be sure.
© Server Fault or respective owner