.TH MKTAP "1" "July 2001" "" "" .SH NAME mktap \- create twisted.servers .SH SYNOPSIS .B mktap [\fIoptions\fR] \fIapptype\fR [\fIapplication_option\fR]... .PP .B mktap \fIapptype\fR --help .SH DESCRIPTION .PP The \fB\--help\fR prints out a usage message to standard output. .TP \fB\--debug\fR, \fB\-d\fR Show debug information for plugin loading. .TP \fB\--progress\fR, \fB\-p\fR Show progress information for plugin loading. .TP \fB\--encrypted\fR, \fB\-e\fR Encrypt file before writing (will make the extension of the resultant file begin with 'e'). .TP \fB\--uid\fR, \fB\-u\fR \fI\fR Application belongs to this uid, and should run with its permissions. .TP \fB\--gid\fR, \fB\-d\fR \fI\fR Application belongs to this gid, and should run with its permissions. .TP \fB\--append\fR, \fB\-a\fR \fI\fR Append given servers to given file, instead of creating a new one. File should be be a tap file. .TP \fB\--appname\fR, \fB\-n\fR \fI\fR Use the specified name as the process name when the application is run with \fItwistd(1)\fR. This option also causes some initialization code to be duplicated when \fItwistd(1)\fR is run. .TP \fB\--type\fR, \fB\-t\fR \fI\fR Specify the output file type. Available types are: .IP pickle - (default) Output as a python pickle file. .br xml - Output as a .tax XML file. .br source - Output as a .tas (AOT Python source) file. .P \fIapptype\fR Can be 'web', 'portforward', 'toc', 'coil', 'words', \ 'manhole', 'im', 'news', 'socks', 'telnet', 'parent', 'sibling', \ 'ftp', and 'mail'. Each of those support different options. .PP .SH \fBportforward\fR options .TP \fB\-h\fR, \fB\--host\fR \fI\fR Proxy connections to \fI\fR .TP \fB\-d\fR, \fB\--dest_port\fR \fI\fR Proxy connections to \fI\fR on remote host. .TP \fB\-p\fR, \fB\--port\fR \fI\fR Listen locally on \fI\fR .PP .SH \fBweb\fR options .TP \fB\-u\fR, \fB\--user\fR Makes a server with ~/public_html and ~/.twistd-web-pb support for users. .TP \fB\--personal\fR Instead of generating a webserver, generate a ResourcePublisher which listens on ~/.twistd-web-pb .TP \fB\--path\fR \fI\fR is either a specific file or a directory to be set as the root of the web server. Use this if you have a directory full of HTML, cgi, php3, epy, or rpy files or any other files that you want to be served up raw. .TP \fB\-p\fR, \fB\--port\fR \fI\fR is a number representing which port you want to start the server on. .TP \fB\-m\fR, \fB\--mime_type\fR \fI\fR is the default MIME type to use for files in a --path web server when none can be determined for a particular extension. The default is 'text/html'. .TP \fB\--allow_ignore_ext\fR Specify whether or not a request for 'foo' should return 'foo.ext'. Default is off. .TP \fB\--ignore-ext\fR \fI.\fR Specify that a request for 'foo' should return 'foo.\fI\fR'. .TP \fB\-t\fR, \fB\--telnet\fR \fI\fR Run a telnet server on , for additional configuration later. .TP \fB\-i\fR, \fB\--index\fR \fI\fR Use an index name other than "index.html" .TP \fB--https\fR \fI\fR Port to listen on for Secure HTTP. .TP \fB-c\fR, \fB--certificate\fR \fI\fR SSL certificate to use for HTTPS. [default: server.pem] .TP \fB-k\fR, \fB--privkey\fR \fI\fR SSL certificate to use for HTTPS. [default: server.pem] .TP \fB--processor\fR \fI=\fR Adds a processor to those file names. (Only usable if after .B --path) .TP \fB--resource-script\fR \fI