[Mono-list] MonoSetServerAlias problem

Gonzalo Paniagua Javier gonzalo at novell.com
Mon Nov 20 18:59:18 EST 2006


On Mon, 2006-11-20 at 22:03 +0100, Jurek Bartuszek wrote:
> Hello again,
> 
> it seems that there is a problem with MonoSetServerAlias directive in
> mod_mono-1.2. I wrote the config file basing on
> www.mono-project.com/Mod_mono, " Multiple Applications, Multiple
> mod-mono-servers" section. Here it goes:
> 
> <IfModule !mod_mono.c>
>     LoadModule mono_module /var/www/modules/mod_mono.so
> 
>     MonoAutoApplication Enabled
> 
>     MonoServerPath testinst "/usr/bin/mod-mono-server2"
> 
>     Alias /test "/usr/lib/xsp/test"
>     AddMonoApplications testinst "/test:/usr/lib/xsp/test"
> 
>     <Directory /usr/lib/xsp/test>
>         SetHandler mono
>         MonoSetServerAlias testinst
>     </Directory>
> 
>     AddType application/x-asp-net .aspx
>     AddType application/x-asp-net .asmx
>     AddType application/x-asp-net .ashx
>     AddType application/x-asp-net .asax
>     AddType application/x-asp-net .ascx
>     AddType application/x-asp-net .soap
>     AddType application/x-asp-net .rem
>     AddType application/x-asp-net .axd
>     AddType application/x-asp-net .cs
>     AddType application/x-asp-net .config
>     AddType application/x-asp-net .Config
>     AddType application/x-asp-net .dll
>     DirectoryIndex index.aspx
>     DirectoryIndex Default.aspx
>     DirectoryIndex default.aspx
> </IfModule>
> 
> The problem is that when I want to start apache, I get such an error:
> 
> Syntax error on line 19 of /var/www/conf/mod_mono.conf:
> Server alias 'testinst, not found.

Seems like a patch that fixed other issues has broken all these.
I will revert the patch and try to address the original issue in other
way.

-Gonzalo




More information about the Mono-list mailing list