Page 1 of 1

MSIE js error pngbehavior.htc

Posted: Fri Sep 02, 2005 12:01 pm
by randulo
The (non-existing) file "plugin/pngbehavior.htc"
is apparently being called by
plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php

This is causing the error

Access is denied to http://domain.com/plugin/pngbehavior.htc

Note there is not directory 'plugin' singular.

Re: MSIE js error pngbehavior.htc

Posted: Fri Sep 02, 2005 12:28 pm
by garvinhicking
You must call your Serendipity URL with the URL you configured as BaseURL. IF you use a different URL, the behaviour.htc file is called from another URL and is causing the URL trouble.

That means, if you configured to use http://yourblog.com/ you must use that, and not http://www.yourblog.com/ to access the installaltion.

Or you can use the "autodetect HTTP host" config option to detect the used blog URL and remove canonical URLs with this.

(The file itself is called via rewrite methods, that's why you can't see the actual file)

Regards,
Garvin

Re: MSIE js error pngbehavior.htc

Posted: Fri Sep 02, 2005 12:39 pm
by randulo
garvinhicking wrote: Or you can use the "autodetect HTTP host" config option to detect the used blog URL and remove canonical URLs with this.
Thanks Garvin, as usual you hit the nail on the head. Just as I 'spoke' to you on IRC I had changed that for an unrelated reason.

All is well now :)