[Mono-list] MonoSetServerAlias problem
Jurek Bartuszek
koxta at koxta.net
Mon Nov 20 16:03:51 EST 2006
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.
Line 19 contains "MonoSetServerAlias testinst". This worked flawlessly
on 1.1.x versions. Is there something that I'm missing in this
particular case?
Best regards,
Jurek 'Koxta' Bartuszek
More information about the Mono-list
mailing list