2 diffrent sites for same host header differnt sub directory

2 diffrent sites for same host header differnt sub directory

am 21.08.2007 18:09:23 von psawant

Hi All,

I have an old application written in .net 1.1. and i try to write my
new apps in 2.0.

This is what i am trying to do.

x.y.com/abc --> site 1 (.net 1.1)
x.y.com/def --> site 2 (.net 2.0)

The reason why I am tryin to do this is because i tried

x.y.com/abc --> site 1 (.net 1.1)
x.y.com/def --> site 1 (.net 2.0)

and it did not work for me.If you can tell me how to make this happen
it would be great.

Thanks all in advnace.

Re: 2 diffrent sites for same host header differnt sub directory

am 21.08.2007 19:14:47 von Kristofer Gafvert

It is impossible to have two different web sites with the same host
header, only separated by the URL. At least in IIS. For your suggestion to
work, you will need some kind of application (or something else) that
reads the host header and URL to determine which website it should forward
the request to (it is obviously placed in front of IIS).

But what is the original problem? As long as the two web applications run
in separated application pools it should work. I suppose there may be
problems if the root of the website is set up to use .NET 2.0 (because of
inheritance of web.config), but if the root is set up to use .NET 1.1 i
think it will work.

Not sure though if it is supported. You may want to ask ASP.NET questions
in a newsgroup related to ASP.NET.


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


parez wrote:

>Hi All,
>
>I have an old application written in .net 1.1. and i try to write my
>new apps in 2.0.
>
>This is what i am trying to do.
>
>x.y.com/abc --> site 1 (.net 1.1)
>x.y.com/def --> site 2 (.net 2.0)
>
>The reason why I am tryin to do this is because i tried
>
>x.y.com/abc --> site 1 (.net 1.1)
>x.y.com/def --> site 1 (.net 2.0)
>
>and it did not work for me.If you can tell me how to make this happen
>it would be great.
>
>Thanks all in advnace.

Re: 2 diffrent sites for same host header differnt sub directory

am 21.08.2007 19:40:45 von psawant

Thanks.Kristofer.. I have root set up for 1.1. I will give it a try.

On Aug 21, 1:14 pm, "Kristofer Gafvert"
wrote:
> It is impossible to have two different web sites with the same host
> header, only separated by the URL. At least in IIS. For your suggestion to
> work, you will need some kind of application (or something else) that
> reads the host header and URL to determine which website it should forward
> the request to (it is obviously placed in front of IIS).
>
> But what is the original problem? As long as the two web applications run
> in separated application pools it should work. I suppose there may be
> problems if the root of the website is set up to use .NET 2.0 (because of
> inheritance of web.config), but if the root is set up to use .NET 1.1 i
> think it will work.
>
> Not sure though if it is supported. You may want to ask ASP.NET questions
> in a newsgroup related to ASP.NET.
>
> --
> Regards,
> Kristofer Gafverthttp://www.gafvert.info/iis/- IIS Related Info
>
>
>
> parez wrote:
> >Hi All,
>
> >I have an old application written in .net 1.1. and i try to write my
> >new apps in 2.0.
>
> >This is what i am trying to do.
>
> >x.y.com/abc --> site 1 (.net 1.1)
> >x.y.com/def --> site 2 (.net 2.0)
>
> >The reason why I am tryin to do this is because i tried
>
> >x.y.com/abc --> site 1 (.net 1.1)
> >x.y.com/def --> site 1 (.net 2.0)
>
> >and it did not work for me.If you can tell me how to make this happen
> >it would be great.
>
> >Thanks all in advnace.- Hide quoted text -
>
> - Show quoted text -