(Sorry for double-post - had forgotten to put in header)

Hi List,

I am trying to get mod_mono to run after I managed to get some good results using xsp. 
Unfortunately it doesn't work and I am not sure whether I have interpreted the 
documentation right. So please have a look at my setting.

I am running RedHat 9 with the following packages installed:
httpd-2.0.40-21.i386.rpm
httpd-devel-2.0.40-21.i386.rpm
mono-0.25-1.ximian.6.1.i386.rpm
mono-devel-0.25-1.ximian.6.1.i386.rpm
mod_mono-0.3.7-1.i386.rpm
xsp-0.4.tar.gz
monodoc-0.5-1.ximian.6.1.i386.rpm
libic-0.1.0-1.ximian.6.1.i386.rpm
libpixregion-0.1.0-1.ximian.6.1.i386.rpm
xc-0.1.0-1.ximian.6.1.i386.rpm
xr-0.1.0-1.ximian.6.1.i386.rpm


I have used Daniel Lopez Ridruejo's and Johannes' documentation
(http://www.apacheworld.org/modmono/INSTALL and 
http://go-mono.com/tutorial/html/en/aspnet/installation.html)


- #pkg-config --cflags mono
DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include
Is that something meaningful? Mono as such was running.

- /usr/sbin/apxs
mod_mono.rpm: Is that path included when I use the rpm and do not compile myself?

- /usr/lib/httpd/modules/libmod_mono.so
/usr/lib/ModMono.dll
Here are the modlues located.

- Why XSP in addition to mod_mono? Not either/or?
Why XSP installed into user-dir?

That I do not understand at all. Is it only for the example files, that xsp is 
installed _with_ mod_mono?

Why do you install into user dirs and not into "standard-dirs"?

- /etc/mono/machine.config
file exists

- LoadModule mono_module modules/libmod_mono.so
MonoApplication /mono /home/mono/xsp/server/test
(directly underneath each other)

httpd.conf according to Daniel. Isn't here an alias for the mono-dir missing? (See 
Johannes)

- LoadModMonoDll /usr/lib/ModMono.dll
Alias /mono "/home/mono/xsp/server/test"

SetHandler application/x-httpd-mono


httpd.conf according to Johannes. The LoadModMonoDll causes error on starting httpd

- LoadModule mono_module modules/libmod_mono.so
MonoApplication /mono /home/mono/xsp/server/test
Alias /mono "/home/mono/xsp/server/test"

This configuartion-mix seems to be working (best/a bit)

-> http://127.0.0.1/mono/index.aspx

You don't have permission to access /mono/index.aspx on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an 
ErrorDocument to handle the request.

/var/log/httpd/error_log
[Fri Aug 01 10:41:41 2003] [warn] module mono_module is already loaded, skipping
[Fri Aug 01 10:41:41 2003] [notice] Digest: generating secret for digest 
authentication ...
[Fri Aug 01 10:41:41 2003] [notice] Digest: done
[Fri Aug 01 10:41:42 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
[Fri Aug 01 10:41:55 2003] [error] [client 127.0.0.1] (13)Permission denied: access to 
/mono/index.aspx denied

#ls -al /home/mono/xsp/server/test/index.aspx
-rwxr-xr-x 1 apache apache 715 Jul 31 17:43 index.aspx


- /etc/init.d/httpd start
[warn] module mono_module is already loaded, skipping

That is strange, module only called once in httpd.conf

- No FAQ included (I didn't find it - I would read it! ;-)


I hope that somebody has a hint for me. I am impressed how well mono/xsp worked 
already and I would love to combine it now with all capabilities of apache. Thank a 
lot!!!

Andreas
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to