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
correctly.
You still don't get the idea of an error page. The client is not
rerouted, that would require a change of the status for the resource.
The error page is served as the reply for the request directly.
The client never sees the real location of the error page. It does not
have to be in the webroot or even exist as a normal file. All that
matters here is that the client got a reply for the request.
If that reply refers to something, it can not be relative to the "real"
location of the error page, because there might not be one. It has to be
relative to the requested resource.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders