Something like this perhaps?
<add showInFileManager="false" virtualName="pages" virtualPath="~/PageFiles/" bypassAccessCheck="false" indexingServiceCatalog="Web" physicalPath="C:\VPP_path" name="SitePageFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" />
<add toPath="~/pages/" fromPath="~/upload/" name="Mapping0" type="EPiServer.Web.Hosting.VirtualPathPageMappingProvider,EPiServer.Legacy4" />
Can't get that to work, when we run the Migration Tool against a site with this configuration it will fail with message:
[2008-11-03 11:34:54][Warning] Failed to convert filesystem ~/pagefiles/, reason:
[2008-11-03 11:34:54][Warning] System.Net.WebException: The remote server returned an error: (503) Server Unavailable.
After EPiServer is upgraded from a "standard" version 4 to 5, the Page File folders is visible as numreric folders under Upload folder, since these are not longer configured as Page Files.
Does anyone have a solution for moving them out from Upload folder and into the Page Files folder after the migration is done? (And get them to work as Page Files, with preserved links)