Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod_rewrite

Status
Not open for further replies.

yahve

Programmer
Nov 14, 2000
159
CA
I want to use mod_rewrite to serve page2 when page1 is accessed. I want the location in the browser to stay to page1, I do not want it to change (the user must not know he's being serve a different page). The page2 is on a different server. Here is mt .htaccess file from the directory:

RewriteEngine on
RewriteRule ^page1\.html$
It works but it changes the address that appears in the location windows to page2. Is there a way to keep it to the URL of page1.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top