* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]): > > > 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.
with ErrorDocument 404 /myerropage.php The url wont change if the 404 doesn't do any redirection. I've never tried a 404 to an external page, I don't think its possible (too lazy to look at apache's docs atm). cheers Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

