mono-server2-admin - mono-server2 hosts file creator, hosts file is
part of the debianized mod_mono package
mono-server2-admin.conf [action] [args]
add Use 'add' if you want to create an application and want mono-server2 scripts to manage it
del If you want to remove an application
--path The path where you have your aspx files, MUST EXISTS!, required only with add action
--app The name of your application
--libs If you have dlls outside your path, you must use this!
--port Needed if you are running multiple virtual hosts in different ports in Apache
--vhost If you want to add asp.net support to a virtualhost you must use this. Example: foobar.com
mono-server2-admin.conf is a perl tool to adminstrate your ASP.NET webapps that will be executed with
When you try to add an application, admin.conf will verify that your path exists, if it is, it will
add a directory inside /etc/xsp/conf.d with the name of your app, and also as a file with the
filename format: 10_appname. This file will have the information (path, app).
So, when mono-xsp-update.conf is executed it will read those dirs and create a debian.webapp in
/etc/xsp that the xsp daemon will read, also with a mono-server2-hosts.conf that will have your
directory settings with apache directives. Apache will read mono-server2-hosts.conf!
Pablo Fischer <firstname.lastname@example.org>