Mapping domain to root channel
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Mapping domain to root channel




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Mapping domain to root channel  
Eli_b


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-14-06 06: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






[ Post a follow-up to this message ]



    Re: Mapping domain to root channel  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-14-06 06: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
>







[ Post a follow-up to this message ]



    Re: Mapping domain to root channel  
drazic19


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-15-06 12:20 PM

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 na
me
> 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[/url...nyurl.com/8ugwj
> ----------------------
>
>
> "Eli_b" <elibravs@gmail.com> wrote in message
> news:1150297723.956277.226190@f6g2000cwb.googlegroups.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Mapping domain to root channel  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-16-06 12:20 PM

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:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:36 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register