|
Home > Archive > Microsoft Content Management Server > May 2005 > CMS not putting / after channel automatically
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 |
CMS not putting / after channel automatically
|
|
|
|
| Stefan [MSFT] 2005-05-12, 5:50 pm |
| Hi Vincent,
it is a nice feature of IIS to do the curtesy redirect and add the "/".
But this is not required.
Actually for MCMS you will receive the channel rendering script - which is
actually a page in this situation.
MCMS just handles this different from IIS but both are correct handlings.
You should adjust your template code to work correct with this situation.
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
----------------------
"vincentw56" <vincentw56@discussions.microsoft.com> wrote in message
news:1D8AD847-B922-4E17-A92B-4097FEBE680A@microsoft.com...
> When you type in a URL directly like,
> http://www.yourdomain.com/somefolder,
> it will automatically change it to http://www.yourdomain.com/somefolder/.
> It
> automatically puts the slash at the end. Now if you type in say
> http://www.yourdomain.com/cmschannel, it will not automatically put the
> slash
> at the end if cmschannel is an actual cms channel and not a folder. Why
> is
> this? This becomes a problem because without that slash, the url is
> transferred as a page and not a folder. This causes problems with url
> encoding and selecting templates. Basically if I type in the address
> http://www.yourdomain.com/cmschannel, the code in the cms web page does
> not
> work properly. If I type it in as, http://www.yourdomain.com/cmschannel/,
> it
> works fine. Is there a way to force CMS to add the slash or is there a
> way
> to test for it within the code? Thanks.
|
|
|
|
|