Zen Cart Logo
Forums / PayPal Express Checkout support / 403 on /store/ipn_main_handler.php?xxxxxxxxx

403 on /store/ipn_main_handler.php?xxxxxxxxx

Locked

Views: 1,518

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Oct 2009, 2:54 AM
#1
junkbox avatar

junkbox

New Zenner

Join Date:
Aug 2009
Posts:
29
Plugin Contributions:
0

403 on /store/ipn_main_handler.php?xxxxxxxxx

It seems as though the callback to ZC after loggin in to PayPal pressing continue in PayPal throws the following error on 'postback':

403 Permission Denied
You do not have permission for this request /store/ipn_main_handler.php?type=ec&token=EC-1PB63163DD995290N&PayerID=D5BLAHHHHB84

in my mind it seems like a simple permissions issue, but even setting 755 on that file doesn't solve...any ideas?

15 Oct 2009, 5:30 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 403 on /store/ipn_main_handler.php?xxxxxxxxx

Probably something blocked by rules in your .htaccess, perhaps from a so-called SEO addon?

15 Oct 2009, 10:58 PM
#3
junkbox avatar

junkbox

New Zenner

Join Date:
Aug 2009
Posts:
29
Plugin Contributions:
0

Re: 403 on /store/ipn_main_handler.php?xxxxxxxxx

as it stands, the root (public_html) folder has an .htaccess file but the Zen Cart subdirectory (store) does not, can you point me to a generic .htaccess file for ZenCart I don't think there was one in ZC root, should there be? There is one in the admin folder as well. The .htaccess file in the root (public_html) folder is:

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mystore.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mystore.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mystore.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mystore.com$      [NC]
RewriteCond %{HTTP_REFERER} !^https://mystore.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://mystore.com$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mystore.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mystore.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|php)$ - [F,NC]
22 Oct 2009, 2:20 PM
#4
junkbox avatar

junkbox

New Zenner

Join Date:
Aug 2009
Posts:
29
Plugin Contributions:
0

Re: 403 on /store/ipn_main_handler.php?xxxxxxxxx

shave and a haircut, bump bump

22 Oct 2009, 4:53 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 403 on /store/ipn_main_handler.php?xxxxxxxxx

You can see the default .htaccess files supplied with Zen Cart by downloading a clean copy of the Zen Cart distribution zip file and unzipping it.
https://www.zen-cart.com/tutorials/index.php?article=323

6 Nov 2009, 5:10 AM
#6
junkbox avatar

junkbox

New Zenner

Join Date:
Aug 2009
Posts:
29
Plugin Contributions:
0

Re: 403 on /store/ipn_main_handler.php?xxxxxxxxx

DrByte:

You can see the default .htaccess files supplied with Zen Cart by downloading a clean copy of the Zen Cart distribution zip file and unzipping it.
https://www.zen-cart.com/tutorials/index.php?article=323

There's no HTACCESS in the zen root folder.

6 Nov 2009, 6:08 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 403 on /store/ipn_main_handler.php?xxxxxxxxx

junkbox:

There's no HTACCESS in the zen root folder.
Correct.

And your point is?