[Mono-list] mod_mono permission denied

O.S. de Zwart, endforward olle@endforward.com
03 Feb 2003 01:41:30 +0100


--=-1IYPwfCcgJo1cjGCFSRz
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

It's mono 0.19 rpm's redhat 8.0

Moving the xsp tree inside /var/www (where my apache 2.0.40 lives) got
rid of the permision error but creates another one saying

System.Web.HttpException:  ---> System.IO.FileNotFoundException: File
'tmp659042721.dll' not found.
in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20)
[0x40ab38d4]
in (unmanaged) /usr/lib/libmono.so.0 [0x40acea62]
in <0x00101> 00
System.Web.Compilation.GlobalAsaxCompiler:GetCompiledType ()
in <0x000e6> 00
System.Web.Compilation.GlobalAsaxCompiler:CompileApplicationType
(string,System.Web.HttpContext)
in <0x0002c> 00 System.Web.HttpApplicationFactory:CompileApp
(System.Web.HttpContext)
in <0x00048> 00 System.Web.HttpApplicationFactory:InitializeFactory
(System.Web.HttpContext)
in <0x00070> 00 System.Web.HttpApplicationFactory:GetInstance
(System.Web.HttpContext)
in <0x00154> 00 System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)
--- End of inner exception stack trace ---


I atached the machine.config (I deleted some stuff to get rid of the
empty pages problem mentioned in the faq)

Thanks

On Mon, 2003-02-03 at 01:01, Daniel Lopez wrote:
> 
> Whcich version of Mono are you using, 0.19, CVS?
> Which OS version/distribution?
> What are the contents of machine.config? I am thinking this may be related to
> number 4 in http://www.apacheworld.org/modmono/FAQ.txt, although I have not
> seen the message you mention before
> 
> Cheers
> 
> Daniel
> 
> On Sun, Feb 02, 2003 at 01:12:05AM +0100, O.S. de Zwart,  endforward wrote:
> > Hello,
> > 
> > I am getting the following error:
> > 
> > System.Web.HttpException:  ---> System.UnauthorizedAccessException:
> > Access to the path "/home/ozwart/xsp/server/test/index.aspx" is denied.
> > 
> > at http://endforward.xs4all.nl/mono/index.aspx
> > 
> > the entire xsp tree is owned by apache apache and even 777. Any ideas?
> > -- 
> > Olle de Zwart
> > www.endforward.com
> > +31(0)6-52330739
> > olle@endforward.com
> > 
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
-- 
Olle de Zwart
www.endforward.com
+31(0)6-52330739
olle@endforward.com

--=-1IYPwfCcgJo1cjGCFSRz
Content-Disposition: attachment; filename=machine.config
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=machine.config; charset=UTF-8

<?xml version=3D"1.0" encoding=3D"utf-8"?>

<configuration>

	<configSections>
	        <section name=3D"appSettings" type=3D"System.Configuration.NameVal=
ueFileSectionHandler, System" />

		<section name=3D"system.diagnostics" type=3D"System.Diagnostics.Diagnosti=
csConfigurationHandler, System" />
		<sectionGroup name=3D"system.web">
			<section name=3D"httpHandlers" type=3D"System.Web.Configuration.HttpHand=
lersSectionHandler, System.Web" />
			<section name=3D"httpModules" type=3D"System.Web.Configuration.HttpModul=
esConfigurationHandler, System.Web" />
			<section name=3D"machineKey" type=3D"System.Web.Configuration.MachineKey=
ConfigHandler, System.Web" />
			<section name=3D"authentication" type=3D"System.Web.Configuration.Authen=
ticationConfigHandler, System.Web" />
		</sectionGroup>
	</configSections>
	<system.web>
		<httpHandlers>
			<add verb=3D"*" path=3D"*.aspx" type=3D"System.Web.UI.PageHandlerFactory=
, System.Web" />
			<add verb=3D"*" path=3D"*.asax" type=3D"System.Web.HttpForbiddenHandler,=
 System.Web" />
			<add verb=3D"*" path=3D"*.ascx" type=3D"System.Web.HttpForbiddenHandler,=
 System.Web" />
			<add verb=3D"*" path=3D"*.config" type=3D"System.Web.HttpForbiddenHandle=
r, System.Web" />
			<add verb=3D"GET,HEAD" path=3D"*" type=3D"System.Web.StaticFileHandler, =
System.Web" />
			<add verb=3D"*" path=3D"*" type=3D"System.Web.HttpMethodNotAllowedHandle=
r, System.Web" />
		</httpHandlers>
		<httpModules>
		=09
		</httpModules>
		<machineKey validationKey=3D"AutoGenerate" decryptionKey=3D"AutoGenerate"=
 validation=3D"SHA1" />
	</system.web>
=09
	<appSettings>
	<!--<add key=3D"yourkey" value=3D"your value" /> -->
	<!--<remove key=3D"a key defined higher in the hierarchy" /> -->
	<!--<clear/> Removes all defined settings -->
	</appSettings>
	<system.diagnostics>
		<trace autoflush=3D"false" indentsize=3D"4" />
	</system.diagnostics>
</configuration>


--=-1IYPwfCcgJo1cjGCFSRz--