Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / .htaccess file content.

.htaccess file content.

Locked

Views: 1,688

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
30 Apr 2008, 12:08 PM
#1
philip56 avatar

philip56

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

5 May 2008, 10:32 AM
#2
binglebangle avatar

binglebangle

New Zenner

Join Date:
Sep 2007
Posts:
27
Plugin Contributions:
0

Re: .htaccess file content.

What are you trying to achieve exactly?

5 May 2008, 11:56 AM
#3
philip56 avatar

philip56

Zen Follower

Join Date:
Sep 2007
Location:
Herne Bay, Kent, England
Posts:
182
Plugin Contributions:
0

Re: .htaccess file content.

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