Error 500 trying to access file from site.css ->background: url("../content/img/nav_bg.jpg")

Topics: Customizing Orchard
Mar 27, 2013 at 11:21 AM
On local server using IISExpress from VS
The Img subfolder contains the same working web.config as in its parent folder Content where every file is access without problem.
conatins line to serve static files ?
<add name="StaticFile" path="" verb="" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />

img folder is also open for full control to everyone ???

seems an IIS Express pb ?
Developer
Mar 27, 2013 at 10:27 PM
Why did you copy the web.config file from its parent folder Content into the Img subfolder? The reason I'm asking is that you don't need to do that. Perhaps that's even the issue. Could you reveal the 500 server error to us?
Mar 27, 2013 at 11:04 PM
Yes this is it. Thanks.
But I have already moved everything in upper level.
I was getting a 500.19....error in config.file ... there is a kind of dark logic in this status....
Mar 28, 2013 at 8:59 AM
I was still on the idea where you may install web.config in any sub-folder to adapt settings .... IIS Express (8 ?) changing the rules....