基本思想是,我们有一个试卷,试卷了生产,因此习惯“RemoteOnly”。 我们刚刚建立了一种试验利用,与试爆和探测断裂发生对照。 我们希望它能够收回详细的错误。 但是,我们不希望将习惯Errors=“On”转而去,因为那是 t。
我仔细研究并思考许多问题,我前面提到的一切都有可能。 我对其中任何一点都是错误的?
- We can t turn customErrors on at runtime because when you call configuration.Save() - it writes the web.config to disk and now it s Off for every request.
- We can t symlink the files into a new top level directory with it s own web.config because we re on windows and subversion on windows doesn t do symlinks.
- We can t use URL-Mapping to make an empty folder dir2 with its own web.config and make the files in dir1 appear to be in dir2 - the web.config doesn t apply
- We can t copy all the aspx files into dir2 with it s own web.config because none of the links would be consistent and it s a horrible hacky solution.
- We can t change customErrors in web.config based on hostname (e.g. add another dns entry to the test server) because it s not possible/supported
- We can t do any virtual directory shenanigans to make it work.
如果我不说,是否有办法完成我想要做的工作? 在某些情况下(地名或甚至立方位值)在全地点进行海关校外活动?