Re: AspNet Dirs not enabled for ....
Brought to you by:
wrowe
From: Robert E. <rob...@ne...> - 2012-04-09 15:24:27
|
Hi there, Thanks for that but unfortunately it didnt solve the prb. Below is the current complete aspnet conf I am using #asp.net LoadModule aspdotnet_module "modules/mod_aspdotnet.so" AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo <IfModule mod_aspdotnet.cpp> # Mount the ASP.NET /asp application AspNetMount /MMM1053/files "c:/inetpub/wwwroot/MMM1053/files" AspNetMount /MMM1053 "c:/inetpub/wwwroot/MMM1053" AspNetMount /MMMMobile "c:/inetpub/wwwroot/MMMMobile" # Map all requests for /asp to the application files Alias /MMM1053/files "c:/inetpub/wwwroot/MMM1053/files" Alias /MMM1053 "c:/inetpub/wwwroot/MMM1053" Alias /MMMMobile "c:/inetpub/wwwroot/MMMMobile" <Directory "c:/inetpub/wwwroot/MMM1053"> AspNet Files Virtual Order allow,deny Allow from all DirectoryIndex index.htm index.aspx Default.htm Default.aspx #default the index page to .htm and .aspx </Directory> <Directory "c:/inetpub/wwwroot/MMMMobile"> AspNet Files Virtual Order allow,deny Allow from all DirectoryIndex index.htm index.aspx Default.htm Default.aspx #default the index page to .htm and .aspx </Directory> # For all virtual ASP.NET webs, we need the aspnet_client files # to serve the client-side helper scripts. AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> Options FollowSymlinks Order allow,deny Allow from all </Directory> # Doesnt work #<Directory "c:/inetpub/wwwroot/MMM1053/files"> #AspNet Files Virtual Dirs #</Directory> #Works for everything except getting the dir of app root <Location /MMM1053/files> AspNet Dirs Files Virtual SetHandler asp.net </Location> </IfModule> #asp.net On Mon, Apr 9, 2012 at 8:14 AM, Tobias Polley <ma...@to...> wrote: > Hi Rob, > > my guess is that you have to use > > <Directory C:/Inetpub/wwwroot/MM1053/files/> > AspNet Files Virtual Dirs > </Directory> > > or similar, as the "AspNet" instruction is per-directory: If you have > another AspNet instruction later in your configuration file (for the > same "directory"), it overrides all previous ones. > > http://httpd.apache.org/docs/2.0/mod/core.html#location says "Use > <Location> to apply directives to content that lives outside the > filesystem. For content that lives in the filesystem, use <Directory> > and <Files>." > > Best, Tobias > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Mod-aspdotnet-users mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-aspdotnet-users > |