I am setting up a mono server using Apache and mod_mono on the Raspberry PI 3 running Raspbian Jesse. I already have mono and mod_mono installed and functioning properly.
This is my desired folder structure
- /var/www/html
- App1
- App2
I would like to configure Apache so that I can simply copy a new .NET mvc3 app into a folder directly beneath /var/www/html, (i.e. /var/www/html/App1), and each of those applications will automatically start working as MVC3 apps without having to add an entry to the apache config for each application.
MonoAutoApplication enabled
does not work in this case because I am not serving .aspx pages (or any other .net file), but rather these are MVC applications.
The benefit of this approach is that I can keep this config file with each application in version control. Then when starting a server from scratch, there is less configuration that needs to be done when deploying the apps.
Any ideas on how to handle this?