How to customize application pages in the Layouts folder

nun, dass das anpassen der files im “layouts” verzeichnis nicht supported / nicht besonders schlau, aber doch in einigen fällen die einzige möglichkeit ist, ist bestimmt jedem schnell klar, der sich ein wenig mit wss / moss beschäftigt – nun gibt es dazu einen passenden kb artikel: How to customize application pages in the Layouts folder in SharePoint Server 2007 and in Windows SharePoint Services 3.0:

Modifying the files that are installed by SharePoint is not supported. However, there are some scenarios in which you may have to modify these files to achieve consistent branding or other customizations. When you modify these files, you must consider that they may be replaced by future updates and service packs. Additionally, there may be complications when you upgrade to later versions of the product. Keep backup copies of all customized files in case they are overwritten by an update. Product support will provide commercially reasonable support for help with modifications but will be unable to provide product changes or hotfixes that result from modifying the files that are installed by SharePoint.

spannend ist dann allerdings der lösungvorschlag nummer 2; der so einfach und logisch ist, dass ich selbst nicht darauf gekommen bin: man erstellt sich eine kopie des folders und stellt das virtual directory auf der entsprechenden web site um – ende. nur beim update muss man natürlich auf diesen folder denken…