MONO-SERVER4-ADMIN(8)

πŸ“¦
version 4.2 Β· 3 versions
, in ubuntu jammy

πŸ‘‘ 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 β€” use add when 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 the add action.
  • --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 + a 10_appname file in /etc/xsp/conf.d β†’ mono-xsp-update reads that β†’ it writes debian.webapp and mono-server4-hosts β†’ Apache reads mono-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