xsp4 -version (return code: 0)
Mono.WebServer2.dll 0.4.0.0
(c) (c) 2002-2011 Novell, Inc.
Classes for embedding an ASP.NET server in your application .NET 4.0.
xsp4 --help (return code: 0)
Mono.WebServer2.dll 0.4.0.0
(c) (c) 2002-2011 Novell, Inc.
Classes for embedding an ASP.NET server in your application .NET 4.0.
XSP server is a sample server that hosts the ASP.NET runtime in a minimalistic HTTP server
Usage is:
xsp [...]
-?, -h, --help Shows this help message and exits.
--version Displays version information and exits.
-v, --verbose Prints extra messages. Mainly useful for
debugging.
--printlog Prints log messages to the console.
--logfile=VALUE Specifies a file to log events to.
--configfile, --config-file=VALUE
Specifies a file containing configuration
options, identical to those available in the
command line.
--name=VALUE Specifies a name to print in the log
--loglevels=VALUE Specifies what log levels to log. It can be any
of the following values, or multiple if comma
separated:
* Debug
* Notice
* Warning
* Error
* Standard (Notice,Warning,Error)
* All (Debug,Standard)
This value is only used when "logfile" or
"printlog" are set.
--root=VALUE Specifies the root directory the server changes
to before doing performing any operations.
This value is only used when "appconfigfile",
"appconfigdir", or "applications" is set, to
provide a relative base path.
--applications=VALUE Adds applications from a comma separated list of
virtual and physical directory pairs. The pairs
are separated by colons and optionally include
the virtual host name and port to use:
[hostname:[port:]]VPath:realpath,...
Samples:
/:.
The virtual root directory, "/", is mapped
to the current directory or "root" if specified.
/blog:../myblog
The virtual /blog is mapped to ../myblog
myhost.someprovider.net:/blog:../myblog
The virtual /blog at myhost.someprovider.net
is mapped to ../myblog.
This means that other host names, like
"localhost" will not be mapped.
/:.,/blog:../myblog
Two applications like the above ones are
handled.
*:80:/:standard,*:433:/:secure
The server uses different applications on
the unsecure and secure ports.
--appconfigfile=VALUE Adds application definitions from an XML
configuration file, typically with the ".webapp"
extension. See sample configuration file that
comes with the server.
--appconfigdir=VALUE Adds application definitions from all XML files
found in the specified directory. Files must
have the ".webapp" extension.
--backlog=VALUE The listen backlog.
--address=VALUE Specifies the IP address to listen on.
--nonstop Don't stop the server by pressing enter. Must be
used when the server has no controlling terminal.
--quiet Disable the initial start up information.
--random-port Listen on a randomly assigned port. The port
numer will be reported to the caller via a text
file.
--https Enable SSL for the server.
--https-client-accept Enable SSL for the server with optional client
certificates.
--https-client-require Enable SSL for the server with mandatory client
certificates.
--no-hidden Allow access to hidden files (see 'man xsp' for
details).
--minThreads=VALUE The minimum number of threads the thread pool
creates on startup. Increase this value to
handle a sudden inflow of connections.
--port=VALUE Specifies the TCP port number to listen on.
--p12file=VALUE Path to a PKCS#12 file containing the
certificate and the private.
--cert=VALUE Path to X.509 certificate file (cer).
--pkfile=VALUE Path to private key file (pvk).
--pkpwd=VALUE Password to decrypt the private key.
--pidfile=VALUE Write the process PID to the specified file.
--protocols=VALUE specify which protocols are available for SSL.
Possible values: Default (all), Tls, Ssl2, Ssl3