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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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