How to run an ASP.NET web page on Ubuntu Server?
Basically, Microsoft did just about everything possible to ensure that you need to run ASP.Net on a Microsoft server.
Nevertheless, you should be able to run at least some .aspx scripts on an Apache server, using mod_mono.
Q: Are you sure you installed the mod_mono plugin correctly?
Q: Are you sure you configured Apache to recognize the mod_mono plugin, and invoke it for .aspx files?
Here are a couple of other links that might help you:
Note in particular the "troubleshooting" tips at the bottom of the Ubuntu link.
Justin Heather Barrios
Updated on June 04, 2022Comments
-
Justin Heather Barrios over 1 year
I have been trying to follow this tutorial to the letter:
http://library.linode.com/frameworks/mod-mono/ubuntu-10.04-lucid
Here's what I have done so far:
- Installed Ubuntu server and successfully run it
- I can access and HTML page perfectly fine on the server
- I installed MONO on Ubuntu server
- I created /srv/www/example.org/public_html & logs
- I added the link to the /ect/apache2/sites-available/example.org
- I added my ASP.NET file to /srv/www/example.org/public_html/test.aspx
- I added a config file: /srv/www/example.org/public_html/test.aspx
- I then reloaded apache and went to the web page
I came to a site that listed the available files. I saw web.config and test.aspx. When I click on test.aspx it shows the code instead of the ASP web page. What am I doing wrong?