开发者

Affecting the log path of a website in IIS7 With the MSBuildExtensionPack

开发者 https://www.devze.com 2023-04-13 06:12 出处:网络
I was wondering if it is possible to change the logging path for a website via the MSBuildExtensionPack tasks I was setting the LogFileDir path (from the sdc tasks) on sites in Iis6 but cannot see equ

I was wondering if it is possible to change the logging path for a website via the MSBuildExtensionPack tasks I was setting the LogFileDir path (from the sdc tasks) on sites in Iis6 but cannot see equivalent func开发者_运维技巧tionality in IIS7 tasks in the extension pack (Using April 2011 tasks for 3.5).

Is this a case of missing functionality in the pack and I have to roll my own solution or have I missed the method to set it.


After investigation I think this is not possible (as it is in the sdc tasks) I came up with a solution using AppCmd.exe and psexec to execute after granting the correct permissions on redirect.config on the server.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号