Sure, I could copy these files/folders from a different server, or place symbolic link in place - but why should I need to?
I should be able to have the flexibility to move these folders, and/or update the VSS system writers as existed in the previous operating system, windows 2003.
BTW, there's a registry fix for VSS issues in windows 2003.
My 2 cents - Need to improve unattended install from IIS product team.
However, if 3rd party apps failed to so called 'integrated' with the changes in IIS 7, IMHO - you should bug the apps product owner/vendor. this is beyond IIS scope for integration.
Using the script I found that you can delete the entire inetpub directory but this one file lags behind in the custerr folder called 500-100.asp and I can't find anything anywhere about how/if it needs to be remapped like all the other custom error pages.
Other than that the rest works great and have even converted it all over to a PoSH module we deploy over AD to push out the change. Is there an appcmd for the 500-100.asp page?
C:\Windows\system32\inetsrv\appcmd.exe set config -section:httpErrors /[statusCode='401'].prefixLanguageFilePath:D:\inetpub\custerr - Remaps 401.html
but
C:\Windows\system32\inetsrv\appcmd.exe set config -section:httpErrors /[statusCode='501-100'].prefixLanguageFilePath:D:\inetpub\custerr - Doesn't Remap The 500-100.asp page.
the concern is the new updates and patches for IIS 7, that will still replace files in original directories i.e. C:\inetpub
is there any utility or mechanism that you can suggest that has already been implemented to sync all the new hotfixes or patches from a system drive to a non system drive.
what impacts will it make further down the road track implementing this.
500-100.asp doesn't exist in custom error page of IIS 7. this is old IIS 6 implementation, are you still using it ? the default custom error page doesn't work with substatus code, you do need it in detailed error msgs/etc. Read more - http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis-70/
Sir PoSHaLot
Using the script I found that you can delete the entire inetpub directory but this one file lags behind in the custerr folder called 500-100.asp and I can't find anything anywhere about how/if it needs to be remapped like all the other custom error pages.
Other than that the rest works great and have even converted it all over to a PoSH module we deploy over AD to push out the change. Is there an appcmd for the 500-100.asp page?
C:\Windows\system32\inetsrv\appcmd.exe set config -section:httpErrors /[statusCode='401'].prefixLanguageFilePath:D:\inetpub\custerr - Remaps 401.html
but
C:\Windows\system32\inetsrv\appcmd.exe set config -section:httpErrors /[statusCode='501-100'].prefixLanguageFilePath:D:\inetpub\custerr - Doesn't Remap The 500-100.asp page.
Thomad, I have been working with IIS since version 2 and we have always placed the Inetpub on an alternate drive to separate it from the OS for a number of reasons. One being it is a "Best Practice" recommended by Microsoft. I have been searching the Internet
for a few days now trying to find a single, proven way of doing this. I have seen suggestions from "Just move it to the alternate drive" to " Run this BAT file and it will take care of everything" to "Run AppCmd and it will take care if it". I find it very
dissapointing that the vendor of the product does not provide a method of selecting an alternate location during the install process and does not provide a single, proven method of doing the relocation after the install considering that it recommends separating
the web data from the OS.
Ben Roth
1 Post
Re: IIS 7: InetPub Location- VSS Writer issue!!!
Sep 12, 2010 05:25 AM|LINK
I'm just learning my way around IIS and noticed the problems people having with 3rd party software after moving the root.
I was wondering if simply using a symbolic link back on C: that points to your new location. That is, if your backup software will process links.
HMK99
2 Posts
Re: IIS 7: InetPub Location- VSS Writer issue!!!
Sep 13, 2010 06:24 PM|LINK
Sure, I could copy these files/folders from a different server, or place symbolic link in place - but why should I need to?
I should be able to have the flexibility to move these folders, and/or update the VSS system writers as existed in the previous operating system, windows 2003.
BTW, there's a registry fix for VSS issues in windows 2003.
There isn't one for windows 2008.
kctt
654 Posts
Re: IIS 7: InetPub Location- VSS Writer issue!!!
Sep 15, 2010 03:27 AM|LINK
I use R1soft backup software and never experience this kind of issue.
All websites are configured on D: drive.
qbernard
5016 Posts
MVP
Moderator
Re: IIS 7: InetPub Location- VSS Writer issue!!!
Sep 19, 2010 05:05 AM|LINK
My 2 cents - Need to improve unattended install from IIS product team.
However, if 3rd party apps failed to so called 'integrated' with the changes in IIS 7, IMHO - you should bug the apps product owner/vendor. this is beyond IIS scope for integration.
Bernard Cheah
Sir PoSHaLot
1 Post
Re: IIS 7
Sep 24, 2010 12:27 AM|LINK
Using the script I found that you can delete the entire inetpub directory but this one file lags behind in the custerr folder called 500-100.asp and I can't find anything anywhere about how/if it needs to be remapped like all the other custom error pages. Other than that the rest works great and have even converted it all over to a PoSH module we deploy over AD to push out the change. Is there an appcmd for the 500-100.asp page?
C:\Windows\system32\inetsrv\appcmd.exe set config -section:httpErrors /[statusCode='401'].prefixLanguageFilePath:D:\inetpub\custerr - Remaps 401.html
but
C:\Windows\system32\inetsrv\appcmd.exe set config -section:httpErrors /[statusCode='501-100'].prefixLanguageFilePath:D:\inetpub\custerr - Doesn't Remap The 500-100.asp page.
parth112
9 Posts
Re: IIS 7: InetPub Location
Sep 27, 2010 06:02 AM|LINK
Hi Thomas,
i have used your script included in a bat file to move the default system drive to a non-system drive - it has done successfully.
http://blogs.iis.net/thomad/archive/2008/02/10/moving-the-iis7-inetpub-directory-to-a-different-drive.aspxthe concern is the new updates and patches for IIS 7, that will still replace files in original directories i.e. C:\inetpub
is there any utility or mechanism that you can suggest that has already been implemented to sync all the new hotfixes or patches from a system drive to a non system drive.
what impacts will it make further down the road track implementing this.
hope to hear from you soon.
regards,
parth
qbernard
5016 Posts
MVP
Moderator
Re: IIS 7
Sep 27, 2010 10:23 AM|LINK
Bernard Cheah
TCOB
1 Post
Re: IIS 7: InetPub Location
Feb 25, 2013 06:35 PM|LINK
Here is a great script that will handle this task:
http://blogs.iis.net/thomad/archive/2008/02/10/moving-the-iis7-inetpub-directory-to-a-different-drive.aspx
patrick.obri...
2 Posts
Re: IIS 7: InetPub Location
Mar 13, 2013 03:30 PM|LINK
Thomad, I have been working with IIS since version 2 and we have always placed the Inetpub on an alternate drive to separate it from the OS for a number of reasons. One being it is a "Best Practice" recommended by Microsoft. I have been searching the Internet for a few days now trying to find a single, proven way of doing this. I have seen suggestions from "Just move it to the alternate drive" to " Run this BAT file and it will take care of everything" to "Run AppCmd and it will take care if it". I find it very dissapointing that the vendor of the product does not provide a method of selecting an alternate location during the install process and does not provide a single, proven method of doing the relocation after the install considering that it recommends separating the web data from the OS.