[Mono-aspnet-list] help on hosting asp.net applications on linux suse under apache2(httpd)?
Michael Könings
michael.koenings at googlemail.com
Fri Jan 27 15:07:33 UTC 2012
Hi,
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
V4 eventually.
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
settings.
cheers, Michael
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
> httpd,fastcgi).previously
> 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
> folder.
>
> Alias /test /usr/share/mono/asp.net/apps/test
> MonoApplicationsConfigFile test
> /etc/xsp/2.0/applications-available/test.webapp
> 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
> </Location>
>
>
> while running the application i am getting some errors.
> is this is the correct way to host an asp.net applications.if did any
> thing
> mistake pls let me know.
>
>
> thanks,
> chandu.
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/help-on-hosting-asp-net-applications-on-linux-suse-under-apache2-httpd-tp4327061p4332632.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20120127/5f20a139/attachment.html>
More information about the Mono-aspnet-list
mailing list