[support] iframe issue

Cog Rusty cog.rusty at gmail.com
Fri Sep 14 04:58:42 UTC 2007


On 9/14/07, Allen Stern <allen at centernetworks.com> wrote:
> Hi - I am having trouble using iframes in drupal - this has been an
> issue since the day I installed drupal 1 year ago and I hoped it would
> be fixed in 5.2 but alas, no.


I have been using iframes since before Drupal 5, no problem.


> When I attempt to use iframe code either in a story, in a module,
> anything, I get a 403 error. If I use an iframe hardcoded in my
> template, works fine. Also, whats really weird is if I just use the word
> iframe in a story "john loves iframes" it also 403's.


Ohoh... Probably mod_security is installed on your server. Pretty
dumb. Try this in your .htaccess file:

<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>

If it doesn't work, ask your host to loosen it.


> Any ideas would be very much appreciated as this has become a huge issue
> as an advertiser can only provide iframe code and I need it to be in a
> block.
>
> my site is: http://www.centernetworks.com
>
> Thanks,
> Allen
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list