[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?



on 27/4/01 1:19 pm, Jay Fesco at jay@xxxxxxxxxxxx wrote:

>> didn't see anything indicating that the 404.asp page had any idea of where
>> it came from (other than the Session variable and the Host).   And yes,
> I'm
>> using a relative reference (/404.asp, not
> http://www.mydomain.com/404.asp).
>> Any ideas or things I've missed?
> 
> 
> ]Try using
> 
> ] $ENV{'REDIRECT_URL'}
> 
> ]Blessings
> ]Revd Leonard
> 
> 
> Rev - Thanks, but exactly where do I use this?  I tried
> 'Request.ServerVariables("REDIRECT_URL")' as per the Apache website, but it
> comes up empty as well.  When I use your exact syntax in the ASP page, I get
> Object Expected...  This is a Raq3, btw.
> 
>

Sorry about that - thats all I can do
I was using a set of software (Birdtrap)  that gives me custom 404's etc
and writes the name of the dud url that was requested as
$ENV{'REDIRECT_URL'}

All I can do point you to that

regards
revd Leonard
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>