[Mono-list] Unable to Run Custom ASP.NET Applications on Apache

Martin Thwaites monoforum at my2cents.co.uk
Sun Feb 23 23:52:27 UTC 2014


I would imagine the step you are missing is setting up the individual sites
in apache2.

I suggest you read this: http://www.mono-project.com/Mod_mono

Essentially, you need to create a site in sites-enabled with the
configuration you desire...


On 18 February 2014 15:47, rugved <rugvedmandrekar at hotmail.com> wrote:

> In order to run my ASP.NET application compatible on Linux machines, I
> decided to use Mono.
>
> Instead of installing Linux on a different partition on my hard drive, I
> installed Linux on a virtual machine (VMware Player), specifically a Debian
> VM image provided to us by Turnkey with Mono pre-configured with Apache
> server.
>
> To test the Apache server, I first created a sample Hello World ASP.NET
> application in Windows and have copied it to the Apache root in Linux
> (/var/www/). The name of my sample application is, Hello. However as I run
> the application from Google Chrome in the host OS by entering its IP
> address
> (http://192.168.1.146/Hello/Default.aspx), Chrome gives me the following
> error: Server Error in '/' Application
>
> I can run the sample ASP.NET applications provided to me by Mono by simply
> entering my guest OS's (Debian Linux installed on VM) IP address
> (http://192.168.1.146). Can anyone please tell me where exactly am I going
> wrong? If I am not mistaken, I have to modify the apache2.conf file.
> Replies
> at the earliest will be highly appreciated. Thank you in advance.
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Unable-to-Run-Custom-ASP-NET-Applications-on-Apache-tp4661957.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140223/bd7faebb/attachment.html>


More information about the Mono-list mailing list