> > Use a path relative to your httpdocs for your error document, e.g.
> > ErrorDocument 404 /myerrorpage.php
> > instead of
> > ErrorDocument 404 http://mysite/myerrorpage.php
> Unfortunatelly this is not what I mean.
I think it is. When you use a relative path in the .htaccess, the URL will
not change, but you will be redirected. Therefor you can use
$_SERVER['REQUEST_URI'] in your 404-page to check what the visitor was
looking for.

HTH,

--
Ivo Fokkema
PHP & MySQL programmer
Leiden University Medical Centre
Netherlands



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to