[Mono-aspnet-list] Does mod_mono support Web.config inheritance?
ttabyss at gmail.com
Wed Jun 27 22:09:04 UTC 2012
I have an application which reads settings from the <appSettings>
section of the Web.config. Normally, under IIS, an application in a
child folder can read settings from its own Web.config but also those
of a parent folder. There is a hierarchy of inheritance that merges
them together. When I run the same application under Apache2 with
mod_mono, only the settings from the child Web.config are available.
For example, given a page like this:
The Test.aspx page can access settings in:
but not settings in:
The system is Debian Linux running Apache2 2.2.22-7,
mono-apache-server4 2.10-2.1 and libapache2-mod-mono 2.10-3.1. Both
the parent and child folders are registered as applications with
path = /path/to/TestParent
alias = /TestParent
path = /path/to/TestParent/TestChild
alias = /TestParent/TestChild
Can anyone tell me if this is a bug or if I have missed something in
configuring the system.
More information about the Mono-aspnet-list