boa.html
来自「ADI 公司blackfin系列的用户使用文挡。」· HTML 代码 · 共 293 行 · 第 1/2 页
HTML
293 行
<ul><li class="level1"><div class="li"> <strong>Port <Integer></strong> This is the port that Boa runs on. The default port for http servers is 80. If it is less than 1024, the server must be started as root. </div></li></ul><ul><li class="level1"><div class="li"> <strong>Listen <IP></strong> The Internet address to bind(2) to, in quadded-octet form (numbers). If you leave it out, it binds to all addresses (INADDR_ANY). </div></li></ul><ul><li class="level1"><div class="li"> <strong>User <username or UID></strong> The name or UID the server should run as. For Boa to attempt this, the server must be started as root. </div></li></ul><ul><li class="level1"><div class="li"> <strong>Group <groupname or GID></strong> The group name or GID the server should run as. For Boa to attempt this, the server must be started as root. </div></li></ul><ul><li class="level1"><div class="li"> <strong>ServerAdmin <email address></strong> The email address where server problems should be sent. Note: this is not currently used. </div></li></ul><ul><li class="level1"><div class="li"> <strong>ErrorLog <filename></strong> The location of the error log file. If this does not start with /, it is considered relative to the server root. Set to /dev/null if you don’t want errors logged. </div></li></ul><ul><li class="level1"><div class="li"> <strong>AccessLog <filename></strong> The location of the access log file. If this does not start with /, it is considered relative to the server root. Comment out or set to /dev/null (less effective) to disable access logging. </div></li></ul><ul><li class="level1"><div class="li"> <strong>VerboseCGILogs</strong> This is a logical switch and does not take any parameters. Comment out to disable. All it does is switch on or off logging of when CGIs are launched and when the children return. </div></li></ul><ul><li class="level1"><div class="li"> <strong>CgiLog <filename></strong> The location of the <acronym title="Common Gateway Interface">CGI</acronym> error log file. If specified, this is the file that the stderr of CGIs is tied to. Otherwise, writes to stderr meet the bit bucket. </div></li></ul><ul><li class="level1"><div class="li"> <strong>ServerName <server_name></strong> The name of this server that should be sent back to clients if different than that returned by gethostname. </div></li></ul><ul><li class="level1"><div class="li"> <strong>VirtualHost</strong> This is a logical switch and does not take any parameters. Comment out to disable. Given DocumentRoot /var/www, requests on interface `A’ or IP `IP-A’ become /var/www/IP-A. Example: <a href="http://localhost/" class="urlextern" title="http://localhost/" rel="nofollow">http://localhost/</a> becomes /var/www/127.0.0.1 </div></li></ul><ul><li class="level1"><div class="li"> <strong>DocumentRoot <directory></strong> The root directory of the <acronym title="HyperText Markup Language">HTML</acronym> documents. If this does not start with /, it is considered relative to the server root. </div></li></ul><ul><li class="level1"><div class="li"> <strong>UserDir <directory></strong> The name of the directory which is appended onto a user’s home directory if a ~user request is received. </div></li></ul><ul><li class="level1"><div class="li"> <strong>DirectoryIndex <filename></strong> Name of the file to use as a pre-written <acronym title="HyperText Markup Language">HTML</acronym> directory index. Please make and use these files. On the fly creation of directory indexes can be slow. </div></li></ul><ul><li class="level1"><div class="li"> <strong>DirectoryMaker <full pathname to program></strong> Name of the program used to generate on-the-fly directory listings. The program must take one or two command-line arguments, the first being the directory to index (absolute), and the second, which is optional, should be the “title” of the document be. Comment out if you don’t want on the fly directory listings. If this does not start with /, it is considered relative to the server root. </div></li></ul><ul><li class="level1"><div class="li"> <strong>DirectoryCache <directory></strong> DirectoryCache: If DirectoryIndex doesn’t exist, and DirectoryMaker has been commented out, the the on-the-fly indexing of Boa can be used to generate indexes of directories. Be warned that the output is extremely minimal and can cause delays when slow disks are used. Note: The DirectoryCache must be writable by the same user/group that Boa runs as. </div></li></ul><ul><li class="level1"><div class="li"> <strong>KeepAliveMax <integer></strong> Number of KeepAlive requests to allow per connection. Comment out, or set to 0 to disable keepalive processing. </div></li></ul><ul><li class="level1"><div class="li"> <strong>KeepAliveTimeout <integer></strong> Number of seconds to wait before keepalive connections time out. </div></li></ul><ul><li class="level1"><div class="li"> <strong>MimeTypes <file></strong> The location of the mime.types file. If this does not start with /, it is considered relative to the server root. Comment out to avoid loading mime.types (better use AddType!) </div></li></ul><ul><li class="level1"><div class="li"> <strong>DefaultType <mime type></strong> <acronym title="Multipurpose Internet Mail Extension">MIME</acronym> type used if the file extension is unknown, or there is no file extension. </div></li></ul><ul><li class="level1"><div class="li"> <strong>AddType <mime type> <extension> extension...</strong> Associates a <acronym title="Multipurpose Internet Mail Extension">MIME</acronym> type with an extension or extensions. </div></li></ul><ul><li class="level1"><div class="li"> <strong>Redirect, Alias, and ScriptAlias</strong> Redirect, Alias, and ScriptAlias all have the same semantics - they match the beginning of a request and take appropriate action. Use Redirect for other servers, Alias for the same server, and ScriptAlias to enable directories for script execution. </div></li></ul><ul><li class="level1"><div class="li"> <strong>Redirect <path1> <path2></strong> allows you to tell clients about documents which used to exist in your server’s namespace, but do not anymore. This allows you tell the clients where to look for the relocated document. </div></li></ul><ul><li class="level1"><div class="li"> <strong>Alias <path1> <path2></strong> aliases one path to another. Of course, symbolic links in the file system work fine too. </div></li></ul><ul><li class="level1"><div class="li"> <strong>ScriptAlias <path1> <path2></strong> maps a virtual path to a directory for serving scripts. </div></li></ul></div><!-- SECTION [3440-8793] --><h2><a name="for_more_information" id="for_more_information">For more information</a></h2><div class="level2"><p>Links to documents relevant to Boa development and usage. Incomplete, we’re still working on this. NCSA has a decent page along these lines, too. </p><p>Also see Yahoo’s List <a href="http://www.yahoo.com/Computers_and_Internet/Software/Internet/World_Wide_Web/Servers/" class="urlextern" title="http://www.yahoo.com/Computers_and_Internet/Software/Internet/World_Wide_Web/Servers/" rel="nofollow">http://www.yahoo.com/Computers_and_Internet/Software/Internet/World_Wide_Web/Servers/</a> </p><p>W3O <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> page <a href="http://www.w3.org/pub/WWW/Protocols/" class="urlextern" title="http://www.w3.org/pub/WWW/Protocols/" rel="nofollow">http://www.w3.org/pub/WWW/Protocols/</a> </p><p>RFC 1945 <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>-1.0 (informational) <a href="http://ds.internic.net/rfc/rfc1945.txt" class="urlextern" title="http://ds.internic.net/rfc/rfc1945.txt" rel="nofollow">http://ds.internic.net/rfc/rfc1945.txt</a> </p><p>IETF Working Group Draft 07 of <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>-1.1 <a href="http://www.w3.org/pub/WWW/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-07.txt" class="urlextern" title="http://www.w3.org/pub/WWW/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-07.txt" rel="nofollow">http://www.w3.org/pub/WWW/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-07.txt</a> </p><p><acronym title="Hyper Text Transfer Protocol">HTTP</acronym>: A protocol for networked information <a href="http://www.w3.org/pub/WWW/Protocols/HTTP/HTTP2.html" class="urlextern" title="http://www.w3.org/pub/WWW/Protocols/HTTP/HTTP2.html" rel="nofollow">http://www.w3.org/pub/WWW/Protocols/HTTP/HTTP2.html</a> </p><p>The Common Gateway Interface (<acronym title="Common Gateway Interface">CGI</acronym>) <a href="http://hoohoo.ncsa.uiuc.edu/cgi/overview.html" class="urlextern" title="http://hoohoo.ncsa.uiuc.edu/cgi/overview.html" rel="nofollow">http://hoohoo.ncsa.uiuc.edu/cgi/overview.html</a> </p><p>RFC 1738 <acronym title="Uniform Resource Locator">URL</acronym> syntax and semantics <a href="http://ds.internic.net/rfc/rfc1738.txt" class="urlextern" title="http://ds.internic.net/rfc/rfc1738.txt" rel="nofollow">http://ds.internic.net/rfc/rfc1738.txt</a> </p><p>RFC 1808 Relative <acronym title="Uniform Resource Locator">URL</acronym> syntax and semantics <a href="http://ds.internic.net/rfc/rfc1808.txt" class="urlextern" title="http://ds.internic.net/rfc/rfc1808.txt" rel="nofollow">http://ds.internic.net/rfc/rfc1808.txt</a> </p></div><!-- SECTION [8794-] --></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?