Reply to topic
.htaccess directives
hermes369


Joined: 07 Apr 2004
Posts: 6
Location: GA
Reply with quote
Hello,
I'm using Zen Cart, Authorize.net, and PayPal. I've successfully restricted access to the directory containing the shopping cart. Unfortunately, doing so breaks the checkout functions. What I want to do is restrict access to this cart only to valid-users or requests coming from authorize.net or paypal. Here's my .htaccess:
Code:

AuthType Basic
AuthName "Restricted Area"
AuthUserFile /vservers/*******/.htpasswd
AuthAuthoritative on
Require valid-user
Order allow,deny
Allow from authorize.net paypal.com
Satisfy any

Unfortunately, its not working. I've tried using
Code:
Satisfy all

which does present the password prompt; but breaks checkout. I've looked all over Zen Cart's forum and various and sundry places and haven't been able to get a good answer.
I appreciate any help.
nathacof


Joined: 24 Oct 2006
Posts: 93
Location: Bear, DE
Reply with quote
Is this on a shared server? If so you will need to contact technical support.

The only directives allowed in a .htaccess file by default are very restrictive in our shared environment.
.htaccess directives
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic