Welcome to WebmasterWorld Guest from 54.161.105.39

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

current url from htaccess?

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

Junior Member

5+ Year Member

joined:Dec 31, 2007
posts: 198
votes: 0


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)

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

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


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

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

Junior Member

5+ Year Member

joined:Dec 31, 2007
posts: 198
votes: 0


Thank you!