Forum Moderators: phranque

Message Too Old, No Replies

how to tell RewriteRule to propagate the referer

         

Grimmjow

5:15 pm on Feb 17, 2010 (gmt 0)

10+ Year Member



I'm noticing that those rewrite rules:

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

(unoptimized worpdress)

kill the REFERER. They do not empty it, but set to the host currently ospitating the script.

Do you know if it's possibile to propagate the original request REFERER along with the last RewriteRule?

Thank you.

jdMorgan

7:54 pm on Feb 17, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Something's wrong with your code or your server configuration, then...

This code, being an internal rewrite, does not normally affect *any* of the HTTP-request-related variables.

Jim

Grimmjow

10:45 pm on Feb 17, 2010 (gmt 0)

10+ Year Member



Ah, okay, thanks.