.....
....
Am I working something wrong? Best Regards VladaI had simular problems.
But in my case there was made an configuration error. I will share this with you all:
It is crusial that the path attribute of the location node refers to the same name as specified in the virtualPath attribute of the provider node. (And not the name of the physicalPath, whitch was the case for me).
This is correct:
Provider node:
<add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/" bypassAccessCheck="false" maxVersions="3" indexingServiceCatalog="Web" physicalPath="C:\Inetpub\EPiServerFiles\Globals" name="SiteGlobalFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer"/>
location node:
<location path="Global">
<system.web>
<httpRuntime maxRequestLength="32768"/>
<!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
<httpHandlers>
<add path="*" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true"/>
</httpHandlers>
</system.web>
<staticFile expirationTime="-1.0:0:0"/>
</location>
If you set the path to Globals, whitch is the name of the physical folder, the files will not show up. They will get broken. (Files with fileextention specified in the staticFileHandler section will function properly, though. Why I'm not sure.)