Re: Default Website - Best Practise?



I agree entirely; unfortunately I have to deal with some dumb software until
the company gets it act together and rewrites it code.....

"Roger Abell [MVP]" wrote:

Personally, if I attempt to install something and it is so dumb
as to assume the w3svc instance into which I want it installed,
then I do not what that crap code installed anyway.

The practice of moving the default site, or any other for that
matter, to a NTFS partition used only for web content originated
with attempts to prevent use of parent path traversal from getting
to executables. If parent paths is enabled, this is still a valid
practice as far as I can tell, although not necessarily to prevent
execution of what it can potentially make accessible.

Roger

""WenJun Zhang[msft]"" <wjzhang@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:IauxvBdVHHA.4088@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Shaun,

Yes, deleting the default web site is not recommended. This is because the
Default Web Site's ID in IIS metabase is 1 by default, i.e: /LM/W3SVC/1 .
You can check this by using Metabase Explorer utility in IIS 6.0 resource
kit tools:

Internet Information Services (IIS) 6.0 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=56fc
92ee-a71a-4c73-b628-ade629c89499

Some web application's uses the path /LM/W3SVC/1 by default. If the site
is
deleted, the installer cannot find this path and the installation process
fails.

Setting the home folder path of the default web site and log file path to
a
dedicated NTFS volume shouldn't affect anything because most of web
application installation are using virtual directories. Even if it refers
to the Default Web Site's physical path, the installer should look for the
Path property under /LMW3SVC/1/Root to locate it and copy files.

Please let me know if you have any further question.

Thanks for using MSDN newsgroup and have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

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




.



Relevant Pages

  • Re: Howto refresh IIS 6 Application pool identity credential info
    ... As soon as a new request to the corresponding web site which the AppPool ... IIS W3SVC service will then start up a new worker ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: WMP 11 Download Songs from URGE
    ... | it's a music online download site that need to login to use its service. ... normally accessing such web site programmatically ... | Microsoft Online Community Support ... | where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vb.general.discussion)
  • Re: Updating a Web-Site
    ... I understand what you are saying about updataing the aspx files, ... use the "Copy Web Site" feature in VS 2005 IDE, it just act as a FTP ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Default Website - Best Practise?
    ... deleting the default web site is not recommended. ... to the Default Web Site's physical path, the installer should look for the ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: Deployment project - conditional custom action
    ... I assume your talking about setting the condition property of the custom ... speaking of is a property of the windows installer itself. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.general)