You are not logged in.
Pages: 1
ASP used to work for me with apache, but as some point it stopped working but I wasn't doing much development on that site anyway, so I didn't care. Now I kind of care. I get the error on my own pages, but not on xsp test pages.
This is the error that I'm seeing depends on which way I access the file. If using ~username, I see:
Server Error in '/' Application
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /~majiq/MSA/index.aspx
Version information: Mono Runtime Version: 2.6.1 (tarball Sun Dec 20 16:51:19 CET 2009); ASP.NET Version: 2.0.50727.1433If I follow a symlink from my /srv/http, I get:
Server Error in '/' Application
Files above the application's root directory cannot be included.
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.Compilation.ParseException: Files above the application's root directory cannot be included.
at System.Web.Compilation.AspGenerator.CheckIfIncludeFileIsSecure (System.String filePath) [0x00000] in <filename unknown>:0
at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes) [0x00000] in <filename unknown>:0
at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000] in <filename unknown>:0
at System.Web.Compilation.AspParser.Parse () [0x00000] in <filename unknown>:0
at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader, System.String filename, Boolean doInitParser) [0x00000] in <filename unknown>:0
at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000] in <filename unknown>:0
at System.Web.Compilation.GenericBuildProvider`1[TParser].get_LanguageName () [0x00000] in <filename unknown>:0
at System.Web.Compilation.TemplateBuildProvider.get_LanguageName () [0x00000] in <filename unknown>:0
at System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType () [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManagerDirectoryBuilder.GetBuildProviderCodeDomType (System.Web.Compilation.BuildProvider bp) [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManagerDirectoryBuilder.AssignToGroup (System.Web.Compilation.BuildProvider buildProvider, System.Collections.Generic.List`1 groups) [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManagerDirectoryBuilder.Build (Boolean single) [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x00000] in <filename unknown>:0
at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] in <filename unknown>:0
at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] in <filename unknown>:0
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000] in <filename unknown>:0
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] in <filename unknown>:0
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0
Version information: Mono Runtime Version: 2.6.1 (tarball Sun Dec 20 16:51:19 CET 2009); ASP.NET Version: 2.0.50727.1433And this is the mod-mono relevant stuff in my /etc/httpd/conf/httpd.conf:
#ASP asp issues
Include /etc/httpd/conf/mod_mono.conf
# Choose ASP2.0 support instead of the default 1.0
MonoServerPath "/usr/bin/mod-mono-server2"
MonoAutoApplication enabledAny ideas on resolving this issues?
Offline
Pages: 1