[Mono-list] mod_mono on SuSE 9 apache2

Adam Jacob adam.jacob@infospace.com
Mon, 10 May 2004 15:43:19 -0700


It appears that mod_mono is not registering the handler...

In mod_mono.c, if I change it to this:

static int
mono_handler (request_rec *r)
{
	DEBUG_PRINT (1, "registering my handler, %s", r->handler);
	if (strcmp (r->handler, "mono")) {
		DEBUG_PRINT (1, "registering my handler, declined");
		return DECLINED;
	}

	DEBUG_PRINT (1, "handler: %s", r->handler);
	return mono_execute_request (r);
}

It indeed returns declined.  The resulting debug message:

[Mon May 10 15:42:31 2004] [warn] registering my handler, x/\x14\b\x0c
[Mon May 10 15:42:31 2004] [warn] registering my handler, declined

Is what I get when I hit:

http://localhost/mono/index.aspx

And apache returns the source of the aspx.

I assume that's not normal?

Adam

On Mon, 2004-05-10 at 14:32, Adam Jacob wrote:
> On Mon, 2004-05-10 at 13:18, Gonzalo Paniagua Javier wrote:
> 
> > > Does anybody have this working with the apache2 prefork mpm on SuSE 9? 
> > > Am I just being a moron? (Likely!)  
> > 
> > I just tried the same lines that you have (but i run apache2 as a
> > non-privileged user and on port 8080) and it worked fine. I can only
> > think of permissions problems...
> 
> What should the permissions be?
> 
> I can see the content, as it does show me the raw aspx pages. 
> mod-mono-server.exe is 755, as is /usr/bin/mono.  
> 
> ?
> 
> Adam
-- 
Adam Jacob                                      Cell (206) 619-7151
    Sr. Systems Engineer, Corporate Infrastructure and Applications 
                          InfoSpace, Inc.