homepage Welcome to WebmasterWorld Guest from 54.205.193.39
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
current url from htaccess?
vero




msg:3969918
 4:32 pm on Aug 11, 2009 (gmt 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)

 

jdMorgan




msg:3970028
 7:03 pm on Aug 11, 2009 (gmt 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

vero




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

Thank you!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved