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 - 15:52:19 CEST

Toby Inkster wrote:
> windandwaves wrote:
>
> > I have a redirection in place using an .htaccess file. The file it
> > redirects to is 404.php.
>
> I is *really* redirecting, or is it rewriting, or perhaps displaying
> 404.php using Apache's ErrorDocument directive?
>
> If it's really redirecting (i.e. the URL in the address bar becomes
> 404.php) then this is a bad thing, because it means that your visitor
> can't see what the "problem URL" was, so doesn't have an opportunity to
> correct the address in the address bar.
>

So, how can we make a 404 page that either shows the poblem URL in the
address bar, or can get the problem URL so I can display it in a text
box where the user can correct it and click a 'go' button? (I know how
to make that text box, but not how to get the problem URL).

-- 
thanks for your time,
juglesh
Received on Tue Oct 18 02:40:40 2005