Welcome to WebmasterWorld Guest from 54.166.117.130

Forum Moderators: Ocean10000 & incrediBILL & phranque

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.

Jim

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

5+ Year Member



Thank you!
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month