Thanks for replying!

No, I solved it with the help of Henrik by using BASE in my head section of the 
404.html.
I don’t understand why it would need /errorPages/404.swf because the 404.html 
is at the same place as the swf.

My thought is that my .htaccess calls the /errorPages/404.html, regardless from 
the location it is called, and when this get loaded it plays the 404.swf.
If I call it directly it works OK.

So, however it works, I don't understand completely why it needs the BASE 
element


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Kenneth Kawamoto
Sent: maandag 28 december 2009 14:06
To: Flash Coders List
Subject: Re: [Flashcoders] 404 page not showing with .htaccess

Is your embedding URL to your SWF in your 404.html specified as 
site-root relative? i.e. /errorPages/your.swf

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Cor wrote:
> Hi List,
> 
> I don't know if this is cross-posting, if so I apologize.
> 
> I have this in my .htaccess:
> 
> ErrorDocument 404 /errorPages/404.html
> 
> The 404.html and the 404.swf is on my site in the directory errorPages.
> When I type in the url: www.mysite.com/errorPages/404.html is runs as 
> expected.
> But when I force an error, like www.mysite.com/bla.html, it shows the 
> 404.html page.
> I can tell this by View Source.
> But it doesn't run the swf in it?
> 
> Any ideas??
> 
> Kind regards
> Cor van Dooren
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.722 / Virus Database: 270.14.122/2590 - Release Date: 12/28/09 
08:16:00


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to