Page 1 of 1

javascript in sidebar html nugget

Posted: Thu Jun 01, 2006 1:41 pm
by d_cee
I've been trying to include a weather forecast in the sidebar for a site I'm making. The link code is wrapped in <script></script> tags and I'm getting Forbidden
You don't have permission to access /serendipity_admin.php on this server.
whenever I try to save the nugget. If I don't include the script it saves fine.

what do I need to do to include this?

cheers

Dave

Re: javascript in sidebar html nugget

Posted: Thu Jun 01, 2006 2:32 pm
by garvinhicking
Hi!

Your provider is running some mod_security program.

Tell him do not do that, else you can't type specific words into serendipity.

Regards,
Garvin

Posted: Thu Jun 01, 2006 2:38 pm
by d_cee
Thanks Garvin

I'll send them a mail.

Dave

Posted: Thu Jun 01, 2006 2:41 pm
by garvinhicking
Hi David!

Oh darn, I didn't notice it was you posting. Geez, sometimes I wade through the forum too much in haste :D

I hope my tone didn't soudn offending, now that I read it again. Actually I think one can disable specific settings/options of mod_security, so you might be able to just temporarily exlude it by your hoster....?

Best regards,
Garvin

Posted: Thu Jun 01, 2006 3:44 pm
by d_cee
Hi Garvin

mod_security has been disabled on the server and the script loads fine now.

thanks as ever - you're a star :D

Dave