[Mono-devel-list] Need Help : mod_mono

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed Jan 28 03:28:17 EST 2004


El mié, 28-01-2004 a las 05:11, donaldi sukma p escribió:
> 
> 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

This is an error by apache itself, not related to mod_mono or xsp. You
must ensure that all directories in the path
/usr/local/share/doc/xsp/test are readable by the user running apache.

> 
> Hoping You can give me a clue for this, your advice
> will be my appreciation.

Cheers.

-Gonzalo





More information about the Mono-devel-list mailing list