ASP.NET with Apache

From ArchWiki

Jump to: navigation, search

This article describes, how to show ASP.NET-sites with apache and mono

[edit] Installing

This is quite easy, thanks to pacman. Just type

 pacman -S mono

Next, you have to install mod_mono for apache. This is quite easy too, because you can install it similar to mono

 pacman -S mod_mono

If you also want a few testpages, also install xsp, a simple Webserver for ASP.NET. But we just want his samples, hehe :)

 pacman -S xsp


Now you have to edit /etc/httpd/conf/httpd.conf and add the following line

 Include /etc/httpd/conf/mod_mono.conf

Finally restart apache with

 /etc/rc.d/httpd restart

Now your apache should be able to show ASP.NET-pages

[edit] Testing

If you have installed xsp and your html-path is /httpd/html then you can open a Browser and browse to http://yourserver/xsp/ to see an overview over the ASP.NET-testfiles.


There is a more detailed, further instruction available at http://www.mono-project.com/Mod_mono

Personal tools