944,191 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2957
  • ASP.NET RSS
Jun 15th, 2005
0

Pseudo web page names

Expand Post »
Is it possible using .net technology to have a fake webpage - eg. dewalt.aspx - be associated with another webpage - eg. results.aspx?value=dewalt - and have the url that is displayed on the browser remain the pseduo name - ie. dewalt.aspx. Essentially I want to allow the user to enter a webpage with a descriptive name, have that page use a general page of code with predefined parameters in the querystring but not let the user know that the page name is different than the one that they entered in the url. Does anyone know how this might be done????
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
apisano is offline Offline
3 posts
since Jun 2005
Jun 15th, 2005
0

Re: Pseudo web page names

you don't need .net technology to do this, but this would involve you having to buy that domain name and just having it point to the new site (redirection).

I wish I could tell you more specifically how this is done with windows, but almost any webhost can set this up for you on a windows based system (or linux), or you can see if windows supports mod_rewrite

more bad news .aspx is not a valid domain
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Jun 15th, 2005
0

Re: Pseudo web page names

Thanks for your reply but its not multiple domain names that I'm trying to use for a single site.

What I'm trying to do is replace a page name that has a querystring associated with it with a 'friendly' url without the querystring. For example I want the user to be able to type as the url http://mydomain.com/dewalt.aspx. This page will not actually exist as part of the mydomain.com website. In fact it doesn't exist at all. I need to associate this address with the following one: http://mydomain.com/results.aspz?page=dewalt BUT I want the user to see http://mydomain.com/dewalt.aspx in the address bar. I CAN'T just redirect dewalt.aspx to the results.aspx?page=dewalt address because that changes the url in the address bar.

Hopefully that is clearer.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
apisano is offline Offline
3 posts
since Jun 2005
Jun 15th, 2005
0

Re: Pseudo web page names

oah ok, take a look at:
http://www.isapirewrite.com/

i don't think that IIS .net supports mod_rewrite
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: ASP in ASP.NET application
Next Thread in ASP.NET Forum Timeline: Prblem with sql sever connection





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC