Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:22 AM
Maziar Aflatoun
Guest
 
Posts: n/a
Default asp.net alias

Hi,

Does anyone know if it's possible to do the following in IIS using ASP.NET.

For example to setup aliases user1, user2, and user3

http://www.mydomain.com/user1
http://www.mydomain.com/user2
http://www.mydomain.com/user3

all calling http://www.mydomain.com/default.aspx

and extracting the user1..3 within the default.aspx page?

Thank you
Maziar A.


  #2  
Old July 19th, 2005, 09:22 AM
Ray at
Guest
 
Posts: n/a
Default Re: asp.net alias


"Maziar Aflatoun" <maz88@rogers.com> wrote in message
news:Xx3pb.100153$7B1.8573@news04.bloor.is.net.cab le.rogers.com...
[color=blue]
> Does anyone know if it's possible to do the following in IIS using[/color]
ASP.NET.

http://www.aspfaq.com/5002

Ray at home


  #3  
Old July 19th, 2005, 09:23 AM
Steve Lutz
Guest
 
Posts: n/a
Default Re: asp.net alias

If you want to do this in code, you could write a custom 404 error message
page. In that page, determine the user page that the original request was
for, and then possibly use an Exec to load the default page for that user.




"Maziar Aflatoun" <maz88@rogers.com> wrote in message
news:Xx3pb.100153$7B1.8573@news04.bloor.is.net.cab le.rogers.com...[color=blue]
> Hi,
>
> Does anyone know if it's possible to do the following in IIS using[/color]
ASP.NET.[color=blue]
>
> For example to setup aliases user1, user2, and user3
>
> http://www.mydomain.com/user1
> http://www.mydomain.com/user2
> http://www.mydomain.com/user3
>
> all calling http://www.mydomain.com/default.aspx
>
> and extracting the user1..3 within the default.aspx page?
>
> Thank you
> Maziar A.
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles