Author: robertj Date: 2007-10-21 18:26:08 -0400 (Sun, 21 Oct 2007) New Revision: 87876
Added: branches/robertj/xsp/src/Mono.WebServer.FastCgi/ConfigurationManager.xml Log: This file was missed in the previous commit. Added: branches/robertj/xsp/src/Mono.WebServer.FastCgi/ConfigurationManager.xml =================================================================== --- branches/robertj/xsp/src/Mono.WebServer.FastCgi/ConfigurationManager.xml 2007-10-21 22:21:35 UTC (rev 87875) +++ branches/robertj/xsp/src/Mono.WebServer.FastCgi/ConfigurationManager.xml 2007-10-21 22:26:08 UTC (rev 87876) @@ -0,0 +1,256 @@ +<?xml version="1.0" encoding="utf-8"?> +<ConfigurationManager> + + <!-- SERVER SETTINGS --> + + <Setting Name="?" Type="Bool" /> + + <Setting Name="help" Type="Bool" ConsoleVisible="True"> + <Description> + <para>Shows this help message and exits.</para> + </Description> + </Setting> + + <Setting Name="version" Type="Bool" ConsoleVisible="True"> + <Description> + <para>Displays version information and exits.</para> + </Description> + </Setting> + + <Setting Name="stopable" Type="Bool" ConsoleVisible="True"> + <Description> + <para>Allows the user to stop the server by if "Enter" + is pressed. This should not be used when the server has + no controlling terminal.</para> + </Description> + </Setting> + + <Setting Name="verbose" Type="Bool" ConsoleVisible="True"> + <Description> + <para>Prints extra messages. Mainly useful for + debugging.</para> + </Description> + </Setting> + + <Setting Name="configfile" Type="File" ConsoleVisible="True"> + <Description> + <para>Specifies a file containing configuration options + identical to those available in he command line.</para> + </Description> + </Setting> + + <!-- SOCKET SETTINGS --> + + <Setting Name="socket" Type="String" AppSetting="MonoSocketType" + ConsoleVisible="True"> + <Description> + <para>Specifies the type of socket to listen on. Valid + values are "pipe", "unix", and "tcp".</para> + + <para>"pipe" indicates to use piped socket + opened by the web server when it spawns the + application.</para> + + <para>"unix" indicates that a standard unix + socket should be opened. The file name can be + specified in the "filename" argument or appended + to this argument with a colon, eg:</para> + + <example> + <code> + unix<br /> + unix:/tmp/fastcgi-mono-socket + </code> + </example> + + <para>"tcp" indicates that a TCP socket should + be opened. The address and port can be specified + in the "port" and "address" arguments with or + appended to this argument with a colon, eg:</para> + + <example> + <code> + tcp<br /> + tcp:8081<br /> + tcp:127.0.0.1:8081<br /> + tcp:0.0.0.0:8081 + </code> + </example> + </Description> + </Setting> + + <Setting Name="filename" AppSetting="MonoUnixSocket" Type="String" + ConsoleVisible="True"> + <Description> + <para>Specifies a unix socket filename to listen on.<br /> + To use this argument, "socket" must be set to "unix".</para> + </Description> + </Setting> + + <Setting Name="port" AppSetting="MonoServerPort" Type="UInt16" + ConsoleVisible="True"> + <Description> + <para>Specifies the TCP port number to listen on.<br /> + To use this argument, "socket" must be set to "tcp".</para> + </Description> + </Setting> + + <Setting Name="address" AppSetting="MonoServerAddress" Type="String" + ConsoleVisible="True"> + <Description> + <para>Specifies the IP address to listen on.<br /> + To use this argument, "socket" must be set to "tcp".</para> + </Description> + </Setting> + + <!-- APPLICATION SETTINGS --> + + <Setting Name="root" AppSetting="MonoServerRootDir" Type="Directory" + ConsoleVisible="True" WebVisible="True"> + <Description> + <para>Specifies the root directory the server changes to + before doing performing any operations.</para> + + <para>This value is only used when "appconfigfile", + "appconfigdir", or "applications", is set to provide a + relative base path.</para> + </Description> + </Setting> + + <Setting Name="appconfigfile" AppSetting="MonoApplicationsConfigFile" + Type="File" ConsoleVisible="True" WebVisible="True"> + <Description> + <para>Adds application definitions from an XML + configuration file, typically with the ".webapp" + extension. See sample configuration file that + comes with the server.</para> + </Description> + </Setting> + + <Setting Name="appconfigdir" AppSetting="MonoApplicationsConfigDir" + Type="Directory" ConsoleVisible="True" WebVisible="True"> + <Description> + <para>Adds application definitions from all XML files + found in the specified directory DIR. Files must + have the ".webapp" extension.</para> + </Description> + </Setting> + + <Setting Name="applications" AppSetting="MonoApplications" Type="String" + ConsoleVisible="True" WebVisible="True"> + <Description> + <para>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:</para> + + <example> + <code>[hostname:[port:]]VPath:realpath,...</code> + </example> + + <para>Samples:</para> + + <example> + <code>/:.</code> + <desc>The virtual root directory, "/", is + mapped to the current directory or "root" if + specified.</desc> + </example> + + <example> + <code>/blog:../myblog</code> + <desc>The virtual /blog is mapped to + ../myblog</desc> + </example> + + <example> + <code>myhost.someprovider.net:/blog:../myblog</code> + <desc>The virtual /blog at + myhost.someprovider.net is mapped to ../myblog. + This means that other host names, like + "localhost" will not be mapped.</desc> + </example> + + <example> + <code>/:.,/blog:../myblog</code> + <desc>Two applications like the above ones are + handled.</desc> + </example> + + <example> + <code>*:80:/:standard,*:433:/:secure</code> + <desc>The server uses different applications on + the unsecure and secure ports.</desc> + </example> + </Description> + </Setting> + + <Setting Name="automappaths" AppSetting="MonoAutomapPaths" + Type="Bool" ConsoleVisible="True"> + <Description> + <para>Automatically registers applications as they are + encountered, provided pages exist in standard + locations.</para> + </Description> + </Setting> + + <!-- FASTCGI SETTINGS --> + + <Setting Name="maxconns" AppSetting="FastCgiMaxConnections" + Type="UInt16" ConsoleVisible="True" WebVisible="True"> + <Description> + <para>Specifies the maximum number of concurrent + connections the server should accept.</para> + </Description> + </Setting> + + <Setting Name="maxreqs" AppSetting="FastCgiMaxRequests" Type="UInt16" + ConsoleVisible="True" WebVisible="True"> + <Description> + <para>Specifies the maximum number of concurrent + requests the server should accept.</para> + </Description> + </Setting> + + <Setting Name="multiplex" AppSetting="FastCgiMultiplexConnections" + Type="Bool" ConsoleVisible="True" WebVisible="True"> + <Description> + <para>Allows multiple requests to be send over a single + connection.</para> + </Description> + </Setting> + + <!-- LOG SETTINGS --> + + <Setting Name="loglevels" AppSetting="FastCgiLogLevels" + Type="String" ConsoleVisible="True"> + <Description> + <para>Specifies what log levels to log. It can be any + of the following values, or multiple if comma + separated:</para> + + <para>Debug<br /> + Notice<br /> + Warning<br /> + Error<br /> + Standard (Notice,Warning,Error)<br /> + All (Debug,Standard)</para> + + <para>This value is only used when "logfile" or + "printlog" are set.</para> + </Description> + </Setting> + + <Setting Name="logfile" AppSetting="FastCgiLogFile" + Type="String" ConsoleVisible="True"> + <Description> + <para>Specifies a file to log events to.</para> + </Description> + </Setting> + + <Setting Name="printlog" Type="Bool" ConsoleVisible="True"> + <Description> + <para>Prints log messages to the console.</para> + </Description> + </Setting> +</ConfigurationManager> \ No newline at end of file Property changes on: branches/robertj/xsp/src/Mono.WebServer.FastCgi/ConfigurationManager.xml ___________________________________________________________________ Name: svn:eol-style + native _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
