Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Global and Documetns don't have paths in web.config, apart from the <add path.... part, which is present in the one that is causing the issues:
The paths are mapped in episerver.config
<location path="Documents" inheritInChildApplications="false">
<system.web>
<!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
<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="-1.0:0:0" />
</location>
<location path="Global" inheritInChildApplications="false">
<system.web>
<!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
<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="-1.0:0:0" />
</location>
<location path="Otherfiles">
<system.webServer>
<handlers>
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" />
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" />
</handlers>
</system.webServer>
<staticFile expirationTime="-1.0:0:0" />
</location>
Is the site running on IIS6 or IIS7?
If you look in your config above you can see that Documents and Global are configured with IIS6 syntax (<system.web><httpHandlers>) while OtherFiles is configured with IIS7 syntax (<system.webServer><handlers>). Try to change the settings for OtherFiles to use IIS6 syntax.
Hi,
I am having a strange issue with VPP folders returning 404 errors.
I have a Virtual Path Native Provider mapped to a server drive.
Files can be uploaded in edit mode correctly.
however, when I try and view them in a browser, I am unable to load anything but image (png) files.
.txt, and .pdf files return 404, even though they exist in the directory.
Any ideas please?