AspNet Dirs not enabled for ....
Brought to you by:
wrowe
From: Robert E. <rob...@ne...> - 2012-04-09 11:36:41
|
I have had this module running for the last couple of years with no problem, love it :) However I now have one situation that is giving me a problem. Ok so I have an asp folder mounted and accessed say as \MM1053, now I want to mount a subfolder \MM1053\files. I tried using the Directory directive as I had for MM1053 but it didnt work, what did work was the Location directive. Great so now the new app in the subfolder works perfectly. Except one small problem... One function in another application simply calls the root of this new app "\MM1053\Files" as part of a test just to make sure it is running. Unfortunately it fails with an error in the log [Mon Apr 09 07:13:01 2012] [error] [client 10.0.1.12] mod_aspdotnet: Forbidden, 'AspNet Dirs' is not enabled for: /MM1053/files/ (directory C:/Inetpub/wwwroot/MM1053/files/) My Location directive is this <Location /MM1053/files> SetHandler asp.net AspNet Files Virtual Dirs Order allow,deny Allow from all DirectoryIndex index.htm index.aspx Default.htm Default.aspx </Location> So I have the Dirs directive but it seems not to be effective. Any thoughts? TIA Rob |