AI OnAI Off
Hello,
Have you added a static filehandler for that location in web.config?
<location path="ArtSite">
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
<add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
</httpHandlers>
</system.web>
<staticFile expirationTime="365:0:0" />
</location>
I added a custom starting point in EPiServer.config (<add showInFileManager="true" virtualName="Artsite Files" virtualPath="~/ArtSite/" bypassAccessCheck="false" indexingServiceCatalog="Web" physicalPath="C:\EPiServer\VPP\Aspen_qa\ArtSite" name="SiteArtsiteFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" />). Added a file (jpg) but the thumbnail has a red cross against it. The file appears to be correct in the VPP folder through explorer but when trying to access it through a web browser (e.g. http://www.samplewebserver.com/ArtSite/myimage.jpg) I get a 404 file not found error. Adding the same file through Globals folder works correctly. Any suggestions?