Microsoft Content Management Server - Mapping domain to root channel

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > June 2006 > Mapping domain to root channel





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Mapping domain to root channel
Eli_b

2006-06-14, 1:19 pm

hi, i have a MCMS 2002 application.

my channel Hierarchy is more or less like this:

/Channels
/SiteRootChannel
/Site1
/Site2
/Site3

in my SiteRootChannel i have an script url to a webform, that decides
to what Site the user should go, depending on its IP address (Site1,
Site2 or Site3) and redirects him to it.

right now, in order to get this functionality, the user has to type in
the url address:
http://mydomain.com/SiteRootChannel

but i would like the webpage with the redirection logic to run when the
user types:
http://mydomain.com

I tried to put the script url property to my Channels channel, but
nothing happens.
is there a way i can map the domain directly to the "SiteRootChannel"
channel, so i can get the funcionality i need?

thank you very much

Eli

Stefan [MSFT]

2006-06-14, 1:19 pm

Hi Eli,

MCMS ships with an built in feature to do the mapping. The "map channel name
to host header name" feature.
But be aware that it only exists in the enterprise edition of MCMS.

You would need to enable this feature in the SCA and then rename the root
channel of the site to the name of the host header.

E.g.

/Channels
/www.site1.com
/www.site2.com
/www.site3.com

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Eli_b" <elibravs@gmail.com> wrote in message
news:1150297723.956277.226190@f6g2000cwb.googlegroups.com...
> hi, i have a MCMS 2002 application.
>
> my channel Hierarchy is more or less like this:
>
> /Channels
> /SiteRootChannel
> /Site1
> /Site2
> /Site3
>
> in my SiteRootChannel i have an script url to a webform, that decides
> to what Site the user should go, depending on its IP address (Site1,
> Site2 or Site3) and redirects him to it.
>
> right now, in order to get this functionality, the user has to type in
> the url address:
> http://mydomain.com/SiteRootChannel
>
> but i would like the webpage with the redirection logic to run when the
> user types:
> http://mydomain.com
>
> I tried to put the script url property to my Channels channel, but
> nothing happens.
> is there a way i can map the domain directly to the "SiteRootChannel"
> channel, so i can get the funcionality i need?
>
> thank you very much
>
> Eli
>



drazic19

2006-06-15, 7:20 am

Hi,

Does the mapping only work on the first level or can it work also on levels
further down? say to create another entry point? Will an isapii rewrite be
needed otherwise?

Thanks,

Michael

"Stefan [MSFT]" wrote:

> Hi Eli,
>
> MCMS ships with an built in feature to do the mapping. The "map channel name
> to host header name" feature.
> But be aware that it only exists in the enterprise edition of MCMS.
>
> You would need to enable this feature in the SCA and then rename the root
> channel of the site to the name of the host header.
>
> E.g.
>
> /Channels
> /www.site1.com
> /www.site2.com
> /www.site3.com
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Eli_b" <elibravs@gmail.com> wrote in message
> news:1150297723.956277.226190@f6g2000cwb.googlegroups.com...
>
>
>

Stefan [MSFT]

2006-06-16, 7:20 am

Hi Michael,

it only works on the first level.
I assume you would need to create a custom ISAPI filter as rewriting for a
lower level will require many exceptions (e.g. /NR and /MCMS and
webcntrl_client virtual directories as well with template project
directory).

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"drazic19" <drazic19@discussions.microsoft.com> wrote in message
news:BE002B86-95AE-4873-8897-0B31D1F6282A@microsoft.com...[vbcol=seagreen]
> Hi,
>
> Does the mapping only work on the first level or can it work also on
> levels
> further down? say to create another entry point? Will an isapii rewrite be
> needed otherwise?
>
> Thanks,
>
> Michael
>
> "Stefan [MSFT]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com