In IIS, I have an important application (called a treasure) with a child application (named blog). From a security point of view, I decided to run both applications in my application pools and restrict access to the file system for each to my own directory.
Thus, the parent application directory is accessible only to the application pool user of the parent application. ( C:\inetpub\wwwroot\Treasure\ is only available for IIS APPPool\treasure )
The child application directory is accessible only to the child application pool user. ( C:\inetpub\wwwroot\blog is only available for IIS APPPool\blog )
Now, if I go to http: //www.treasure.blah/blog/ , I get an HTTP error 500.19. I can not read the configuration file due to insufficient permissions. C: \ inetpub \ wwwroot \ Treasure \ web.config glow?
I already know that from the parent web.config application you can set <location path="." inheritInChildApplications="false"/> <location path="." inheritInChildApplications="false"/> . But my problem is that the child cannot read this web.config, but he tries and fails. So it does not help me.
How to configure a child application so that it does not try to read the web.config file from the parent application?
source share