MONO-SERVER4-ADMIN(8)
π MONO-SERVER4-ADMIN β the manual, but make it cute
okay bestie, sit down, we're learning mono-server4-admin from the MONO-SERVER4-ADMIN(8) page in the User Contributed Perl Documentation and honestly? it's giving useful. π
πΈ NAME πΈ
mono-server4-admin β it's the mono-server4 hosts file creator, and that hosts file is part of the debianized mod_mono package. no cap.
β¨ SYNOPSIS β¨
mono-server4-admin [action] [args]
that's it. that's the whole vibe. one command, an action, some args, slay. π¦
π OPTIONS π
π Actions:
addβ useaddwhen you wanna create an application and you want the mono-server4 scripts to manage it for you. main character behaviour fr fr.delβ if you want to remove an application. bye bestie π
π Args:
--pathβ the path where your aspx files live. MUST EXISTS! π (yes it's written like that, and yes it means it, the path has to actually be there). it's required only with theaddaction.--appβ the name of your application. give it a name, it deserves one π₯Ί--libsβ if you've got dlls outside your path, you must use this! don't skip it, it's not a suggestion.--portβ needed if you're running multiple virtual hosts on different ports in Apache. multi-vhost girlies, this one's for you π--vhostβ if you wanna add asp.net support to a virtualhost you must use this. example:foobar.com. periodt.
π¦ DESCRIPTION π¦
so mono-server4-admin is a perl tool to administrate your ASP.NET webapps that will be executed with mod_mono. iconic honestly. π§
when you try to add an application, mono-server4-admin will verify that your path exists. if it does, 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 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-server4-hosts that will have your directory settings with apache directives. and Apache will read mono-server4-hosts.conf! π€π₯
lowkey the whole pipeline is: you add the app β it drops a dir + a10_appnamefile in/etc/xsp/conf.dβmono-xsp-updatereads that β it writesdebian.webappandmono-server4-hostsβ Apache readsmono-server4-hosts.conf. the way that it all chains together... obsessed. π
π AUTHOR π
Pablo Fischer <pablo@pablo.com.mx> β the legend who wrote this. give them their flowers. π
and that's a wrap on mono-server4-admin(8) bestie!! this page came to you via perl v5.32.1, dated 2021-08-30 β so like, vintage but still eating. β¨π«Ά now go add your app, and don't forget that --path has to exist, i'm serious. π
π¦ where this page comes from
- ubuntu jammy: mono-apache-server4 4.2-2.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms