[Mono-list] mod_mono [error] No application found for /~jonas/test.aspx

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Fri, 10 Dec 2004 01:45:30 -0500


On Wed, 2004-12-08 at 18:53 +0100, Jonas Geiregat wrote:
> I've setup apache2 to use mod_mono
> here's a part of my config file:
> 
>     205 <Directory /home/*/pubwww>
>     206         SetHandler mono
>     207         Options +Indexes
>     208         Allow from all
>     209 </Directory>
> 
> I get the following error in error_log:
> 
> [Wed Dec 08 18:52:22 2004] [notice] Apache/2.0.52 (Gentoo/Linux)
> PHP/4.3.9 mod_mono/1.0.4 configured -- resuming normal operations
> [Wed Dec 08 18:52:24 2004] [error] No application found
> for /~jonas/test.aspx

Unless you're passing in MonoApplications or --applications
that /home/jonas/pubwww directory, mod-mono-server knows nothing about
it.

Something like:

	mod-mono-server --applications /home/jonas/pubwww:/~jonas/

or

	MonoApplications "/home/jonas/pubwww:/~jonas/"

will work.

If you have many user home directories to manage, consider using the
MonoApplicationsConfigDir (see man mod_mono(8) and mod-mono-server
--help).

-Gonzalo