Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

current url from htaccess?



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

5+ 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)


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

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 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.



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

5+ Year Member

Thank you!

Featured Threads

Hot Threads This Week

Hot Threads This Month