[Mono-aspnet-list] help on hosting asp.net applications on linux suse under apache2(httpd)?
michael.koenings at googlemail.com
Fri Jan 27 15:07:33 UTC 2012
I only use Apache2.
i can't see a line like this in your example:
* MonoApplications test "/:/*usr/share/mono/asp.net/apps/test*"*
the : is important!
Why don't you use the configuration tool on the mono site?
its here http://go-mono.com/config-mod-mono/
it may be using the using the V2 mono server, you need to change that to
make sure the mod_mono module is loaded.
you should read this too http://www.mono-project.com/AutoHosting
and this http://www.mono-project.com/Mod_mono
be sure to have a recent Mono version installed. ;-)
Check your server for other .conf files which may overwrite your vhost
On Fri, Jan 27, 2012 at 6:29 AM, chandu <m.ravinderreddy1985 at gmail.com>wrote:
> hi michael,
> thanks for u r reply.can u pls suggest me which web server is best to host
> the asp.net applications on linux suse(xsp,apache
> i worked around apache httpd web server.
> i find some asp.net examples which comes default.i run those applications
> using httpd webserver.
> i followed the same configuration settings to my application.
> here is the steps i followed.
> 1) i created a .conf file under /etc/apache2/conf.d/ folder.which is
> already having the default asp.net applications conf files.
> 2)i placed all the application stuff under /usr/share/mono/asp.net/ .
> 3)i created a .webapp file under /etc/xsp/2.0/applications-available/.
> then i restared the webserver and browse the pages.
> here is my application conf file which is placed under /etc/apache2/conf.d
> Alias /test /usr/share/mono/asp.net/apps/test
> MonoApplicationsConfigFile test
> MonoServerPath test "/usr/bin/mod-mono-server4"
> #MonoServerPath blogengine "/opt/novell/mono/bin/mod-mono-server2"
> MonoIOMAP test all
> <Location /test>
> Allow from all
> Order allow,deny
> SetHandler mono
> MonoSetServerAlias test
> while running the application i am getting some errors.
> is this is the correct way to host an asp.net applications.if did any
> mistake pls let me know.
> View this message in context:
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list