[Mono-devel-list] Need Help : mod_mono

yoros at wanadoo.es yoros at wanadoo.es
Wed Jan 28 02:22:27 EST 2004


On Tue, Jan 27, 2004 at 08:43:19PM -0800, donaldi sukma p wrote:
> 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
> 

You can add something like:

<Directory /usr/local/....>
	allow from all
</Directory>

To the httpd.conf file (or others)...

Regards,

    Pedro

-- 
Pedro Martínez Juliá
\  yoros at terra.es
)|    yoros at wanadoo.es
/        http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC



More information about the Mono-devel-list mailing list