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 <[email protected]> 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  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to