[Mono-list] <no subject>

Andreas Denz ADenz@web.de
Fri, 1 Aug 2003 11:17:03 +0200

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:

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
  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"
  <location /mono/*.aspx>
    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)

  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.

  [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] (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!!!

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