IIS Server Security - How to identify the web site with the IIS instance name

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > January 2004 > How to identify the web site with the IIS instance name





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 How to identify the web site with the IIS instance name
Mike

2004-01-26, 11:34 pm

In my logging,
How can i determine what web site the log applies to when
all I have is the instance name ?

For example, if the Instance name is W3SVC15, how do I
know which web site this applies to ?

tia,
Mike
Ken Schaefer

2004-01-26, 11:34 pm

What version of IIS are you running?

Do you want to get this information using script/code? or just visually?

Cheers
Ken


"Mike" <mjackson@jacksonkey.net> wrote in message
news:539901c3e4d0$4f52c1e0$a601280a@phx.gbl...
: In my logging,
: How can i determine what web site the log applies to when
: all I have is the instance name ?
:
: For example, if the Instance name is W3SVC15, how do I
: know which web site this applies to ?
:
: tia,
: Mike


Wei-Dong Xu [MSFT]

2004-01-27, 3:34 pm

Hi Mike,

Thanks for posting in the community!

From my understanding, you are going to know which site the logfile name
applies for.

The logfile name is composed of two parts: constant string "W3SVC" +
SiteID. For example, the W3SVC15 is the logfile to the web site whose site
id is 15. For the site ID and web site, I'd suggest you can use the script
file from IISFAQ.com to list all the website with the corresponding site
ID.
How can I get a simple listing of the web sites on my Web Server?
http://www.iisfaq.com/default.aspx?View=A120&P=109

You can create one empty vbs file and copy-paste the script code from the
link above, then type "cscript <filename>.vbs"(without quotation) in the
console window. All the website with its site id will be listed for you.

Please feel free to let me know if you have any further questions. I am
standing by to be of assistance.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com