[Mono-devel-list] Need Help : mod_mono

donaldi sukma p don_aldi at yahoo.com
Tue Jan 27 23:43:19 EST 2004


I'm donaldi, I'm new in Mono Tech, I want to migrate
from VS.NET to Mono.
Sorry for my bad english and if bothering You
I use Gentoo/Linux as my OS
I have installed mono 0.29, mcs 0.29, xsp 0.8, apache
2.0.47 and mod_mono 0.6. everything is run well in
installation. all --prefix in /usr/local

If I use XSP web server , I can see aspx page well,
then I try to use mod_mono in apache. I have done all
of instruction in INSTALL file included in source
mod_mono 0.6.

These my setting configuration :

in httpd.conf. I add these line:

LoadModule mono_module        modules/mod_mono.so

AddType application/x-asp.net .aspx .ashx .asmx .ascx
.asax .config .ascx

MonoUnixSocket /tmp/mod_mono_server

Alias /mono "/usr/local/share/doc/xsp/test"


after I run this command in dir
"/usr/local/share/doc/xsp/test"

> mono /usr/local/bin/mod-mono-server.exe --root .
--application /mono:.

I change permission for /tmp/mod_mono_server file by

chmod 777 /tmp/mod_mono_server

then I restart the apache.

When I browse http://127.0.0.1/mono/index.aspx, I got
this message:

Forbidden

You don't have permission to access /mono/index.aspx
on this server.
--------------------------------------------------------------------------------
Apache/2.0.47 (Gentoo/Linux) mod_perl/1.99_09
Perl/v5.8.0 mod_mono/0.6 Server at localhost Port 80

the error_log file look like this after I restart the
apache:

[Wed Jan 28 10:45:09 2004] [notice] caught SIGTERM,
shutting down
[Wed Jan 28 10:45:11 2004] [notice] Digest: generating
secret for digest authentication ...
[Wed Jan 28 10:45:11 2004] [notice] Digest: done
[Wed Jan 28 10:45:12 2004] [notice] Apache/2.0.47
(Gentoo/Linux) mod_perl/1.99_09 Perl/v5.8.0
mod_mono/0.6 configured -- resuming normal operations
[Wed Jan 28 10:45:13 2004] [error] [client
192.168.2.221] client denied by server configuration:
/usr/local/share/doc/xsp/test/index.aspx

What I'm missing ??

Hoping You can give me a clue for this, your advice
will be my appreciation. please reply to
don_aldi at yahoo.com

Thanks

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/



More information about the Mono-devel-list mailing list