IIS Server Security - IIS6.0 Log file location

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > October 2005 > IIS6.0 Log file location





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 IIS6.0 Log file location
Sachin

2005-10-30, 5:51 pm

I have an ASP.NET Web Application deployed under a Web Site in IIS 6.0.

I want to set the log file locatin to some folder, say C:\Logs\MyApp through
scripts?

How can I do this?

I am using IISWeb.VBS script to create the Web Site.

TIA
Sachin


Bernard Cheah [MVP]

2005-10-31, 2:49 am


Try
C:\Inetpub\AdminScripts>adsutil.vbs set w3svc/1/logfiledirectory c:\temp\
logfiledirectory : (EXPANDSZ) c:\temp\

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/


"Sachin" <annonymous@microsoft.com> wrote in message
news:%23vEQXyZ3FHA.732@TK2MSFTNGP10.phx.gbl...
>I have an ASP.NET Web Application deployed under a Web Site in IIS 6.0.
>
> I want to set the log file locatin to some folder, say C:\Logs\MyApp
> through
> scripts?
>
> How can I do this?
>
> I am using IISWeb.VBS script to create the Web Site.
>
> TIA
> Sachin
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com