homepage Welcome to WebmasterWorld Guest from 54.161.192.61
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Rewrite URL to Include Query String
Rewrite URL to Include Query String
b33l238u8

5+ Year Member



 
Msg#: 3916044 posted 8:57 pm on May 18, 2009 (gmt 0)

I am hosting a website using IIS 6.0. Users are able to access the site using http://example.com or https://example.com, but the page presented is page.aspx, the incorrect page. The page I would like presented is page.aspx?form=lite, but I want the users to to use http://example.com to access it.

I have tried the IIS "redirection to a URL" option to no avail. I have tried MS RewriteURL with some success:

Using the following mapping:
/page.aspx=/page.aspx?form=lite
if the user enters http://example.com/joeprize.aspx he will be presented with the correct page

Using the following mapping:
/example.com=http://example.com/joeprize.aspx?form=lite
the user gets the incorrect page.

Can someone please provide a suggestion?

[edited by: tedster at 6:28 am (utc) on May 19, 2009]
[edit reason] removed specifics [/edit]

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
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