[Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
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

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Henrik Andersson
You did not account for relative urls. The swf url is relative to the embeding html page. And that is not in the right folder. In conclusion, fix the url. I recommend the base element, it let's just override what the urls are relative to. Other options include using an absolute url.

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Henrik Andersson
Cor wrote: Hi Henrik, Thanks for replying. I don't completely understand what you are writing. The swf is at the same location as the 404.html. And I don't know what the base element is? Kind regards Cor van Dooren Basic list etiquette: reply only to the Reply-to: address. You are

RE: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
Basic list etiquette: reply only to the Reply-to: address. I didn't know that. I apologize!!! You are assuming that the location has 404.html in it, that is not correct. The location is the location that you entered in the browser, the location that did not exist. This doesn't make sence to

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Kenneth Kawamoto
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

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Henrik Andersson
Cor wrote: You are assuming that the location has 404.html in it, that is not correct. The location is the location that you entered in the browser, the location that did not exist. This doesn't make sence to me. When I enter a wrong address, the .htaccess reroutes me to the 404.html

RE: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
-boun...@chattyfig.figleaf.com] 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

RE: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Cor
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: maandag 28 december 2009 14:11 To: Flash Coders List Subject: Re: [Flashcoders] 404 page not showing with .htaccess Cor wrote: You are assuming that the location has 404.html in it, that is not correct. The location

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Kenneth Kawamoto
: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

Re: [Flashcoders] 404 page not showing with .htaccess

2009-12-28 Thread Glen Pike
] 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