Page 1 of 1

Forbidden Error: Loading javascript

Posted: Wed May 30, 2007 1:31 pm
by David_Geoffrey
Hi all

I am getting a problem with trying to create a page with the code below on it. I thought it was because it is calling a javascript, but it works fine when I try it locally using WAMP.

But when I put it up to my live site it doesn't build. I.e. when I click on submit in the add content area, I get the following error:-

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Forbidden
You don't have permission to access /christchurchguildford/admin/addcontent.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at www.tamespace.co.uk Port 80

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

This makes me think that it is a problem with my hosting, but I am a newbie to all this and don't know what questions to even ask.

Any help gratefully received!
DG



   
       
           
           
               
                   
                        Verse of the Day

                       
                   
               
           
           
       
   


Re: Forbidden Error: Loading javascript

Posted: Wed May 30, 2007 1:47 pm
by alby
David_Geoffrey wrote: I am getting a problem with trying to create a page with the code below on it. I thought it was because it is calling a javascript, but it works fine when I try it locally using WAMP.

But when I put it up to my live site it doesn't build. I.e. when I click on submit in the add content area, I get the following error:-

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Forbidden
You don't have permission to access /christchurchguildford/admin/addcontent.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at www.tamespace.co.uk Port 80
Check on live site if you have admin/addcontent.php and case of this folder/file, WAMP is case-insensitive.

Alby

Re: Forbidden Error: Loading javascript

Posted: Wed May 30, 2007 4:44 pm
by David_Geoffrey
Hi

Yes, admin/addcontent.php is there with this case.

The thing is that I can add other content, it just throws a problem when I try this bit of code

Thanks

Re: Forbidden Error: Loading javascript

Posted: Thu May 31, 2007 12:58 pm
by David_Geoffrey
Hi

Looking at this a bit further it seems to be the
tags in the code above that is causing the problems...has anyone else found this?

Cheers
DG

Re: Forbidden Error: Loading javascript SOLVED

Posted: Thu May 31, 2007 1:25 pm
by David_Geoffrey
::) Sorry, just searched a bit harder and found this had been solved sometime ago. I added SecFilterEngine Off into the .htaccess file and hey presto it started working fine.