[Pkg-mono-svn-commits] rev 337 - in mono-nethostmanager/src: . doc

Pablo Fischer pabl0-guest@quantz.debian.org
Tue, 24 Feb 2004 19:25:11 +0100


Author: pabl0-guest
Date: 2004-02-24 19:25:11 +0100 (Tue, 24 Feb 2004)
New Revision: 337

Added:
   mono-nethostmanager/src/doc/
   mono-nethostmanager/src/doc/nethostmanager.1
Log:
* Created the doc dir to keep separated the manpage and documentation
* Created the manpage for nethostmanager with a big explanation of what is it, with 
  the options and one example


Added: mono-nethostmanager/src/doc/nethostmanager.1
===================================================================
--- mono-nethostmanager/src/doc/nethostmanager.1	2004-02-24 18:23:38 UTC (rev 336)
+++ mono-nethostmanager/src/doc/nethostmanager.1	2004-02-24 18:25:11 UTC (rev 337)
@@ -0,0 +1,70 @@
+.TH nethostmanager 1 "24 February 2004"
+.SH NAME 
+nethostmanager \- A XML VirtualHost manager, made in mono
+.SH SYNOPSIS
+.B mono nethostmanager.exe
+[options]
+.SH DESCRIPTION
+A XML VirtualHost manager, made in mono
+.PP
+The mono-hostmanager is a very little app to manage a 'host file' 
+for the XSP (or Mod-mono-server). 
+.PP
+What mono-hostmanger do, is add hosts (with their alias and path) 
+and remove them. The way that the config file is, is in XML format:
+.PP
+<VirtualHosts>
+.PP
+ <Hosts>
+.PP
+  <Host>
+.PP
+   <path>/path/of/my/foo/bar/aspapp</path>
+.PP
+   <alias>/mialias</alias>
+.PP
+  </Host>
+.PP
+ </Hosts>
+.PP
+</VirtualHosts>
+.PP
+Nethostmanager was wrote in C#, it uses Serialize and Deserializer 
+methods to work with the XML struct.
+.SH OPTIONS
+.TP
+.I add
+Add a VirtualHost
+.TP
+.I del
+Delete a VirtualHost
+.TP
+.I print
+Prints the file to screen in the xsp format (/alias:path)
+.TP
+.I \-\-config\-file
+The full path where the config file is
+.TP
+.I \-\-alias
+The alias that you want for the host
+.TP
+.I \-\-path
+The path where your web files are
+.TP
+Some examples:
+.TP
+.B 'add --config-file=/etc/xsp/files.conf --alias=examples --path=/usr/share/foo/bar
+Create a new VirtualHost (if no one is found) in the files.conf, with the alias: examples, 
+and the dir the the ASP.NET are is '/usr/share/foo/bar'.
+.PP
+.SH AUTHORS
+Mono NetHostManager was written by Pablo Fischer (pablo@pablo.com.mx)
+.SH SEE ALSO
+.BR mono (1),
+.PP
+http://www.pablo.com.mx is Pablo Fischer official site
+.SH MORE INFORMATION
+The Mono project (http://www.go-mono.com) is a collaborative effort
+led by Ximian (http://www.ximian.com) to implement an open source
+version of the .NET Framework.
+