Host Header

Host Header

am 08.04.2008 11:09:03 von IJH

Hi,

Am i right in thinking you can't use host headers to redirect to a different
directory?

Like this:

website1, 192.168.1.1, port 80, d:\website1
website2, 192.168.1.1, port 80, e:\website2

If not then how would you go about doing this?

Thanks.

Ian.

RE: Host Header

am 08.04.2008 14:32:00 von IJH

Thanks everyone - it's ok i've answered my own question.
It works fine, but you must stop and start each website in question after
making the changes.
Restarting the WWW Publishing Service isn't enough!



"IJH" wrote:

> Hi,
>
> Am i right in thinking you can't use host headers to redirect to a different
> directory?
>
> Like this:
>
> website1, 192.168.1.1, port 80, d:\website1
> website2, 192.168.1.1, port 80, e:\website2
>
> If not then how would you go about doing this?
>
> Thanks.
>
> Ian.

Re: Host Header

am 08.04.2008 17:37:19 von Kristofer Gafvert

What version of IIS are you using? How do make this change?

I would set this up by changing the home directory for each website, and
that does not require a restart (of anything).

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


"IJH" skrev i meddelandet
news:D4AA1A02-8F64-456F-9CE9-AD54A4BD040E@microsoft.com...
> Thanks everyone - it's ok i've answered my own question.
> It works fine, but you must stop and start each website in question after
> making the changes.
> Restarting the WWW Publishing Service isn't enough!
>
>
>
> "IJH" wrote:
>
>> Hi,
>>
>> Am i right in thinking you can't use host headers to redirect to a
>> different
>> directory?
>>
>> Like this:
>>
>> website1, 192.168.1.1, port 80, d:\website1
>> website2, 192.168.1.1, port 80, e:\website2
>>
>> If not then how would you go about doing this?
>>
>> Thanks.
>>
>> Ian.