Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Getting 403-Forbidden when pasting javascript in Ez-pages

Getting 403-Forbidden when pasting javascript in Ez-pages

Locked

Views: 1,796

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Feb 2010, 9:13 PM
#1
christianday avatar

christianday

New Zenner

Join Date:
Nov 2008
Posts:
19
Plugin Contributions:
0

Getting 403-Forbidden when pasting javascript in Ez-pages

I have an embedded calendar script that I'm trying to put into an EZ-Page and when I click update, I get an error:

Forbidden

You don't have permission to access /admin/ezpages.php on this server.

This is the code for what I'm trying to embed:

<script language="javascript" src="/calendar/load.php?ui_view=calendar"></script>

any tips would rock :)

14 Feb 2010, 5:15 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Getting 403-Forbidden when pasting javascript in Ez-pages

Your hosting company's mod_security rules are blocking you from entering <script> tags which are often considered to be rogue content.
You'll have to get them to exempt you from their security protections designed to protect you from hackers.

14 Feb 2010, 3:30 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Getting 403-Forbidden when pasting javascript in Ez-pages

If they won't do that for you, I've embedded Google calendars without a problem in EZ pages. You'll need a GMail account.

15 Feb 2010, 5:10 AM
#4
christianday avatar

christianday

New Zenner

Join Date:
Nov 2008
Posts:
19
Plugin Contributions:
0

Re: Getting 403-Forbidden when pasting javascript in Ez-pages

Thank you. I ended up installing one of the add-ons that allow php in ezpages and then just did everything as an include.