Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I have this in episerver.config:
<add name="App_Themes_Default" virtualPath="~/App_Themes/Default/" physicalPath="C:\Program Files\EPiServer\CMS\6.1.379.0\application\App_Themes\Default" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
You are missing the handler in Web.config:
<location path="App_Themes/Default">
<system.webServer>
<handlers>
<clear/>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" />
</handlers>
</system.webServer>
</location>
I get 404 on App_Themes/Default files like CSS etc.
Strange thing is that site is running exact same code as another site on another server - same Web.config and episerver.config.
Path is verified in episerver.config and pointing to existing files under:
C:\Program Files\EPiServer\CMS\6.1.379.0\Application\App_Themes\Default
In Web.config I have this:
Any idea?