| Home | Info | Documentation | Installation | Configuration | History | Download | Mailing list | Feedback |
fhttpd.conf)| Keyword and format | Description |
|---|---|
AccessRealm realmname realmfile |
Defines access realm and corresponding password file (in
/etc/passwd format).
|
|
AccessRights AccessRights AccessRights AccessRights |
Defines access to some group of files. filemask
is a wildcard mask,
although "/" is considered to be a regular character, so
"/home/ftp/pub/*" will mean everything in or under
/home/ftp/pub. Statements are processed in
their order in configuration file, restrict
disallows access, allow allows access without
password, mentioning realm
and user allows access for that user or
all users in the realm, if the username is ":all:".
|
AddressRoot hostname rootdir |
Defines "anonymous FTP/HTTP root directory" for IP address.
Anonymous FTP and HTTP sessions will use that directory
instead of default one (home directory of "ftp" user or
default HTTP root directory), if request is sent to one of
IP addresses of the server, defined by
hostname. Also, the same
hostname will be displayed in FTP login
message and directory headers (if AddressRoot is not
defined for some address of the server, primary host/domain
name will be displayed, even if the request comes to
non-primary address).
|
[Auth]Application name pathmask username
maxinstances[,maxinstances_per_uid]
maxqueue
mappedpathmask
[executable
[[-p|-s [arguments]]]] |
Defines application module, implemented as a
If
If
If comma and
-p option specifies communication through pipes,
and -s
option specifies communication through
If "AuthApplication" version of keyword is used,
fhttpd file I/O and CGI support module is implemented as
|
DefaultFooter footer |
Defines default See Special files and URLs for directory listings for details. |
DefaultHeader header |
Defines default See Special files and URLs for directory listings for details. |
[Abs]DirType filemask prefix suffix |
Defines how directories will be represented in the automatically
generated directory list. prefix and
suffix can contain any valid HTML markup
with "_" in the place of spaces and
"\_" in the place of "_".
filemask is handled like in
AccessRights, earlier records have higher
priority. Names are taken how they will appear in
request, not how they will look on real filesystem, unless
"AbsDirType" version of keyword is used.
|
[Special]ExecMask
filemask | Defines which files
can be executed as CGI scripts. SpecialExecMask
version of the keyword disables forced
"HTTP/1.0 200 OK" first response line, so the
script can return its own one, containing redirection or
any other response code. filemask is
handled like in AccessRights.
|
FTPPort [host:] |
port is an FTP server port number
(default value is 21), 0 disables FTP server support by
fhttpd. FTP data port will be port-1.
If host and colon are present, fhttpd
will bind its FTP socket only to the IP address that
corresponds to host.
|
|
[Abs]GetRule UNCONDITIONAL
[Abs]GetRule |
Defines name remapping, unconditional or based on some
fields in HTTP requests. In versions since 0.2.2 redirection between files and scripts is supported without restrictions. |
| HonorKeepAlive | Honor Keep-Alive request option
(HTTP/1.0 persistent connections).
|
HTTPPort [host:] |
port is an HTTP server port number
(default value is 80), 0 disables HTTP server support by
fhttpd (but that will be pointless).
If host and colon are present, fhttpd
will bind its HTTP socket only to the IP address that
corresponds to host.
|
HTTPRoot pathname |
Defines default HTTP root directory as
pathname.
|
[Abs]Inbound filemask |
Defines FTP inbound files. filemask
is handled like in AccessRights. Names are taken how they
will appear in request, not how they will look on real
filesystem, unless "AbsInbound" version of keyword is used.
|
LogApplication name pathmask username
maxinstances[,maxinstances_per_uid]
maxqueue
mappedpathmask
[executable
[[-p|-s [arguments]]]] |