Forum Moderators: phranque

Message Too Old, No Replies

current url from htaccess?

         

vero

4:32 pm on Aug 11, 2009 (gmt 0)

10+ Year Member



REFERER can return the last page the browser was on.

Is there a way to get the page the browser is currently on (ie the address bar)

jdMorgan

7:03 pm on Aug 11, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, this would be available by concatenating %{HTTP_HOST}, %{REQUEST_URI}, %{QUERY_STRING}
You can also examine the entire client request line (as it appears in your raw server access log) in %{THE_REQUEST}

These variables are all available to mod_rewrite, but not all are available to all other Apache modules.

Jim

vero

11:13 pm on Aug 11, 2009 (gmt 0)

10+ Year Member



Thank you!