Zen Follower
- Join Date:
- Sep 2007
- Location:
- Herne Bay, Kent, England
- Posts:
- 182
- Plugin Contributions:
- 0
.htaccess file content.
Hi.
I'd be grateful for any advice on the best content for the .htaccess file in the /feed folder.
Many thanks
Philip
Views: 1,688
Zen Follower
Hi.
I'd be grateful for any advice on the best content for the .htaccess file in the /feed folder.
Many thanks
Philip
New Zenner
What are you trying to achieve exactly?
Zen Follower
binglebangle:
What are you trying to achieve exactly?
Thanks for your reply. Basically, I've been trying to implement the recommended security steps for my site, so I want to insert a .htaccess file into /feed.
At the monent it has the "standard" file, the contents of which are-
#.htaccess to prevent unauthorised directory browsing or access to .php files
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
#add the following to protect against discovering what your version of spiders.txt is
<Files *.txt>
Order Deny,Allow
Deny from all
</Files>
This gives an error in my server error log as follows
[Sun May 04 11:35:27 2008] [alert] [client 86.133.102.237] /home/virtual/site82/fst/var/www/html/shop/feed/.htaccess: unknown order
Any advice would be appreciated.
Philip
Tell staff why this post should be reviewed.