MSIE js error pngbehavior.htc

Found a bug? Tell us!!
Post Reply
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

MSIE js error pngbehavior.htc

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: MSIE js error pngbehavior.htc

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Re: MSIE js error pngbehavior.htc

Post 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 :)
Post Reply