Part CMS, Part ASP.NET site
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Part CMS, Part ASP.NET site
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Guest






Posted: Fri Jan 07, 2005 5:38 am    Post subject: Part CMS, Part ASP.NET site Reply with quote

Hi,

I have the following scenario:

domain.com - ASP.NET pages
domain.com/foo1 - CMS pages
domain.com/foo2 - ASP.NET pages

My issue is that when I go to domain.com, it does not load the
default.aspx page and instead serves up the default CMS page with a
list of channels. If I append /default.aspx to the URL, it works.

Is there a way to get the default.aspx page loaded before CMS takes the
request?

Regards,

Han.
Back to top
Kyong Kwak
Guest





Posted: Fri Jan 07, 2005 5:50 am    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

are you mapping the channel headers to host name? that'd be my first guess.

han_chung@hotmail.com wrote:
Quote:
Hi,

I have the following scenario:

domain.com - ASP.NET pages
domain.com/foo1 - CMS pages
domain.com/foo2 - ASP.NET pages

My issue is that when I go to domain.com, it does not load the
default.aspx page and instead serves up the default CMS page with a
list of channels. If I append /default.aspx to the URL, it works.

Is there a way to get the default.aspx page loaded before CMS takes the
request?

Regards,

Han.
Back to top
Guest






Posted: Fri Jan 07, 2005 6:49 am    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Yes we are mapping channel headers to host name. This is required as
there are other CMS web sites also hosted on the same server. Is there
a workaround?
Back to top
keebosh
Guest





Posted: Fri Jan 07, 2005 7:45 am    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

redirect ? we have a template that will redirect to any url entered
into a single placeholder when the page is in published mode.

han_chung@hotmail.com wrote:
Quote:
Yes we are mapping channel headers to host name. This is required as
there are other CMS web sites also hosted on the same server. Is
there
a workaround?
Back to top
Mei Ying [MVP]
Guest





Posted: Fri Jan 07, 2005 12:01 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi

Set the Scrip Url (aka OuterScruptFile) of the first level
channel, domainname.com, to point to the /default.aspx
page.

regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Contact: meiyinglim@hotmail.com
---
Quote:
-----Original Message-----
Yes we are mapping channel headers to host name. This is
required as
there are other CMS web sites also hosted on the same
server. Is there
a workaround?

.
Back to top
Stefan [MSFT]
Guest





Posted: Fri Jan 07, 2005 5:24 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Han,

you are mixing up terms.
In MCMS you never enter the URL to the project but the Channel URL.
The fact that you added default.aspx seems to indicate that you entered the
project URL rather than the Channel URL.

Or is your channel URL identical to your project URL? Then it might be that
you did not assign the default.aspx as a channel rendering script. Am I
right with my assumption that default.aspx should work as a channel
rendering script or is this intended to be a MCMS template file?
Please confirm.

Cheers,
Stefan.


<han_chung@hotmail.com> wrote in message
news:1105054704.727795.249490@z14g2000cwz.googlegroups.com...
Quote:
Hi,

I have the following scenario:

domain.com - ASP.NET pages
domain.com/foo1 - CMS pages
domain.com/foo2 - ASP.NET pages

My issue is that when I go to domain.com, it does not load the
default.aspx page and instead serves up the default CMS page with a
list of channels. If I append /default.aspx to the URL, it works.

Is there a way to get the default.aspx page loaded before CMS takes the
request?

Regards,

Han.
Back to top
Guest






Posted: Mon Jan 10, 2005 6:43 am    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Stefan,

The thing is, the root part of the site www.domain.com is not actually
a CMS site, hence the need to load default.aspx. It is only the
sub-channel www.domain.com/foo1 that is CMS. Is it possible to have
this scenario work?

Thanks,

Han.
Back to top
Stefan [MSFT]
Guest





Posted: Mon Jan 10, 2005 2:57 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Han,

thanks for the clarification!

Yes this is possible: you need to disable the map channel to host header
feature in the SCA.
Then you need to create the channel foo1 below the root channel.
So the channels structure would look like this:

/Channels
/foo1

This will do what you are looking for.

Cheers,
Stefan.

<han_chung@hotmail.com> wrote in message
news:1105317814.214796.73110@c13g2000cwb.googlegroups.com...
Quote:
Hi Stefan,

The thing is, the root part of the site www.domain.com is not actually
a CMS site, hence the need to load default.aspx. It is only the
sub-channel www.domain.com/foo1 that is CMS. Is it possible to have
this scenario work?

Thanks,

Han.
Back to top
Guest






Posted: Tue Jan 11, 2005 8:11 am    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Stefan,

I'm afraid that's not possible as I have other web sites hosted on the
same server that rely on this "Map Channel to Host Header" setting in
SCA. Is there another workaround?

Regards,

Han.
Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 11, 2005 2:43 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Han,

then you need to ensure that no posting in the channel www.domain.com exists
and that no channel rendering script is assigned to this channel.
In addition create the following channel structure:

/Channels
/www.domain.com
/foo1

Cheers,
Stefan.



<han_chung@hotmail.com> wrote in message
news:1105409515.633098.322440@f14g2000cwb.googlegroups.com...
Quote:
Hi Stefan,

I'm afraid that's not possible as I have other web sites hosted on the
same server that rely on this "Map Channel to Host Header" setting in
SCA. Is there another workaround?

Regards,

Han.
Back to top
Guest






Posted: Tue Jan 11, 2005 5:42 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Stefan,

Thanks for the suggestion. I have my channel structure set up exactly
as you describe. After signing in with the ManualLogin.aspx page, it
sends the user to the www.domain.com channel and instead displays the
standard CMS page with a list of all channels the user has access to.
Han.
Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 11, 2005 7:57 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Han,

Ah! Ok, yes that is as expected.
To avoid this you need to either set the default.aspx page as the channel
rendering script or you need to create a channel rendering script that does
a redirect to the default.aspx page.

Cheers,
Stefan.


<han_chung@hotmail.com> wrote in message
news:1105443721.250222.123690@f14g2000cwb.googlegroups.com...
Quote:
Hi Stefan,

Thanks for the suggestion. I have my channel structure set up exactly
as you describe. After signing in with the ManualLogin.aspx page, it
sends the user to the www.domain.com channel and instead displays the
standard CMS page with a list of all channels the user has access to.
Han.
Back to top
Guest






Posted: Thu Jan 13, 2005 4:31 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi Stefan,

Thanks, that suggestion has done the trick, however, I now have another
related problem.

I set the channel rendering script as /default.aspx. Now,
www.domain.com displays correctly. However, when I go to
www.domain.com/foo1 (the CMS part of the site), I do not get redirected
to the ManualLogin.aspx page and instead get the error "The current
user does not have rights to the requested item". My web.config file
is in the www.domain.com/foo1/ folder and has authentication mode set
to "Forms".

Han.
Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 4:36 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Hi han,

do you have a channel rendering script in the /Channels/foo1 channel?
If yes: is it a channel rendering script from the application in the /foo1
web application?

Cheers,
Stefan.

<han_chung@hotmail.com> wrote in message
news:1105612272.452759.253280@z14g2000cwz.googlegroups.com...
Quote:
Hi Stefan,

Thanks, that suggestion has done the trick, however, I now have another
related problem.

I set the channel rendering script as /default.aspx. Now,
www.domain.com displays correctly. However, when I go to
www.domain.com/foo1 (the CMS part of the site), I do not get redirected
to the ManualLogin.aspx page and instead get the error "The current
user does not have rights to the requested item". My web.config file
is in the www.domain.com/foo1/ folder and has authentication mode set
to "Forms".

Han.
Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 4:41 pm    Post subject: Re: Part CMS, Part ASP.NET site Reply with quote

Sorry, I meant /Channels/www.domain.com/foo1 in my previous post rather than
/Channels/foo1

Cheers,
Stefan.


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:eGewEvV#EHA.2032@tk2msftngp13.phx.gbl...
Quote:
Hi han,

do you have a channel rendering script in the /Channels/foo1 channel?
If yes: is it a channel rendering script from the application in the /foo1
web application?

Cheers,
Stefan.

han_chung@hotmail.com> wrote in message
news:1105612272.452759.253280@z14g2000cwz.googlegroups.com...
Hi Stefan,

Thanks, that suggestion has done the trick, however, I now have another
related problem.

I set the channel rendering script as /default.aspx. Now,
www.domain.com displays correctly. However, when I go to
www.domain.com/foo1 (the CMS part of the site), I do not get redirected
to the ManualLogin.aspx page and instead get the error "The current
user does not have rights to the requested item". My web.config file
is in the www.domain.com/foo1/ folder and has authentication mode set
to "Forms".

Han.


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB