| Author |
Putting a site live
|
|
| Diddle 2005-08-12, 5:57 pm |
| I've finished the development of a few sites and I now want to put them live.
I've gone down the path of mapping channel names to host headers and where
I'm stuck now is having one method of viewing the site in read only mode and
one where I can have it in read write to allow users to edit the content.
I've created two websites both pointing to the same physical files. e.g.
www.mysite.com
admin.mysite.com
I've got www.mysite.com setup to be annoymous access which works fine. I've
set admin.mywebsite.com to be basic authentication. I understand that they
both need to point to the same channel name so we have used an isapi filter
to redirect requests for admin.mysite.com to www.mysite.com. The redirection
does happen but no authentication takes place and I see the public site.
Can anyone give me some advice or point me to a URL that might help.
Many thanks
| |
| Angus Logan [MVP] 2005-08-12, 5:57 pm |
| Hi,
You need to create 2 iis virtual server one with authentication required and
one with anonymous access.
It would look like
/w3svc/1/ = www.mysite.com + Anonymous access
/w3svc/2/ = admin.mysite.com + Integrated Authentication + ISAPI Rewrite
What URLRewrite tool are you using? I suggest ISAPIRewrite
(www.isapirewrite.com).
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Diddle" <Diddle@discussions.microsoft.com> wrote in message
news:D025D9FD-BB7D-47AF-A995-F6CB507B04FE@microsoft.com...
> I've finished the development of a few sites and I now want to put them
> live.
>
> I've gone down the path of mapping channel names to host headers and where
> I'm stuck now is having one method of viewing the site in read only mode
> and
> one where I can have it in read write to allow users to edit the content.
>
> I've created two websites both pointing to the same physical files. e.g.
>
> www.mysite.com
> admin.mysite.com
>
> I've got www.mysite.com setup to be annoymous access which works fine.
> I've
> set admin.mywebsite.com to be basic authentication. I understand that
> they
> both need to point to the same channel name so we have used an isapi
> filter
> to redirect requests for admin.mysite.com to www.mysite.com. The
> redirection
> does happen but no authentication takes place and I see the public site.
>
> Can anyone give me some advice or point me to a URL that might help.
>
> Many thanks
| |
| Diddle 2005-08-12, 5:57 pm |
| I am using that isapi filter.
I'm not using virtual sites, I have created two seperate websites in IIS.
Thanks
"Angus Logan [MVP]" wrote:
> Hi,
>
> You need to create 2 iis virtual server one with authentication required and
> one with anonymous access.
>
> It would look like
>
> /w3svc/1/ = www.mysite.com + Anonymous access
> /w3svc/2/ = admin.mysite.com + Integrated Authentication + ISAPI Rewrite
>
> What URLRewrite tool are you using? I suggest ISAPIRewrite
> (www.isapirewrite.com).
>
> Regards
> --
> ________________________________________
>
> Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
> Product Specialist
> Microsoft Application Solutions
> Data#3 Limited
> E angus_logan@data3.com.au
> BLOG www.anguslogan.com
> ________________________________________
> "Diddle" <Diddle@discussions.microsoft.com> wrote in message
> news:D025D9FD-BB7D-47AF-A995-F6CB507B04FE@microsoft.com...
>
>
>
| |
| Angus Logan [MVP] 2005-08-12, 5:57 pm |
| Hi,
are you using host headers?
are you sure the admin.mysite.com is hitting the correct IIS Web Site (aka
IIS Virtual Server).
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Diddle" <Diddle@discussions.microsoft.com> wrote in message
news:9CFE2631-2DC4-4D43-9B5D-E0387930D2AC@microsoft.com...[vbcol=seagreen]
>I am using that isapi filter.
>
> I'm not using virtual sites, I have created two seperate websites in IIS.
>
> Thanks
>
>
>
> "Angus Logan [MVP]" wrote:
>
| |
| Diddle 2005-08-12, 5:57 pm |
| Hi Angus
Yes I am using host headers. What do you mean by virtual server? Do you
mean virtual diredctory?
Whats happening now is that when i go to admin.mysite.com it prompts me to
authenticate, once I do it takes me to an error page saying
Directory Listing Denied
Its although it doesnt recognise it as a MCMS site, but both domains are
setup in SCA as being MCMS.
"Angus Logan [MVP]" wrote:
> Hi,
>
> are you using host headers?
>
> are you sure the admin.mysite.com is hitting the correct IIS Web Site (aka
> IIS Virtual Server).
> --
> ________________________________________
>
> Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
> Product Specialist
> Microsoft Application Solutions
> Data#3 Limited
> E angus_logan@data3.com.au
> BLOG www.anguslogan.com
> ________________________________________
> "Diddle" <Diddle@discussions.microsoft.com> wrote in message
> news:9CFE2631-2DC4-4D43-9B5D-E0387930D2AC@microsoft.com...
>
>
>
| |
| Angus Logan [MVP] 2005-08-12, 5:57 pm |
| Hi Diddle,
An IIS Web site is also known as an IIS Virtual Server.
Anyway - you should analyze your IIS Logs to see which URL is being hit.
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Diddle" <Diddle@discussions.microsoft.com> wrote in message
news:1EE1630B-643E-4324-B80A-DA6C975745A7@microsoft.com...[vbcol=seagreen]
> Hi Angus
>
> Yes I am using host headers. What do you mean by virtual server? Do you
> mean virtual diredctory?
>
> Whats happening now is that when i go to admin.mysite.com it prompts me to
> authenticate, once I do it takes me to an error page saying
>
> Directory Listing Denied
>
> Its although it doesnt recognise it as a MCMS site, but both domains are
> setup in SCA as being MCMS.
>
>
> "Angus Logan [MVP]" wrote:
>
|
|
|
|