apache - Maintain HTTP Referer -


i've setup redirects on apache server. @ bit this:

redirect /name/register /login.html

my question this... there anyway preserve http referrer through redirect? seem default, apache discards information. if after redirect complete referrer say:

http://the.orginalurl.com/name/register

anyone if possible? if not, thoughts on alternative.

many thanks, neil

redirect won't preserve referrer because browser sent 301 , new address open. manual:

the redirect directive maps old url new 1 asking client refetch resource @ new location.

mod_rewrite , (i think) alias can rewrite directly (i.e. without causing browser redirect) , preserve referrer. mod_rewrite, can add referer parameter request, if want to.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -