Re: 'HTTP_REFERER'
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: 'HTTP_REFERER'

From: juglesh <jugleshjunk@hotmail.com>
Date: Wed Oct 12 2005 - 18:42:46 CEST

Bert Melis wrote:
> If you put the absolute path into your htaccess
>
> ErrorDocument 404 http://www.domain.tld/errors/404.php
>
> the address in the address-bar of your browser changes to the
> error-document. If you put a relative document in your htaccess
>
> ErrorDocument 404 /errors/404.php
>
> the address will not change, and you can fetch the wrong url by
> $_SERVER['REQUEST_URI'].

Ahh, that's it. I had been using a common 404 for a few different
sites, therefore using an absolute path to it.

Thanks alot!
Received on Tue Oct 18 02:40:44 2005