|
Lines 3-21
Link Here
|
| 3 |
# |
|
|
| 4 |
# usage: shttpd [OPTIONS] |
| 5 |
# -d <directory> wwwroot (dflt: ) |
| 6 |
# -D no directory listing |
| 7 |
# -p <port> listening port (dflt: 80 or 443) |
| 8 |
# -l <logfile> access log file (dflt: shttpd.log) |
| 9 |
# -I inetd mode |
| 10 |
# -e <errorlog> error log file |
| 11 |
# -i <files> index files (dflt: index.html,index.cgi) |
| 12 |
# -c <cgi_ext> CGI file pattern (dflt: .cgi) |
| 13 |
# -P <passfile> global auth file |
| 14 |
# -A <passfile> <domain> <user> <password> edit .htpasswd file |
| 15 |
# -u <login_name> switch UID to user <login_name> |
| 16 |
# -N <servername> server domain name (auth realm) (dflt: mydomain.com) |
| 17 |
# -m <mime_file> mime types file |
| 18 |
# -v debug mode |
| 19 |
# -s <pem_file> SSL certfileificate file (dflt: shttpd.pem) |
| 20 |
# -S use SSL |
| 21 |
# |
|
Lines 23-27
Link Here
|
| 23 |
SHTTPD_PORT="81" |
4 |
# shttpd now uses /etc/shttpd/shttpd.conf. |
| 24 |
SHTTPD_USER="shttpd" |
5 |
# This file is obsolette and will be removed later. |
| 25 |
SHTTPD_DOCROOT="/var/www/localhost/htdocs" |
6 |
|
| 26 |
SHTTPD_LOG="/var/log/shttpd/access.log" |
7 |
#SHTTPD_PORT="81" |
| 27 |
SHTTPD_ERROR="/var/log/shttpd/error.log" |
8 |
#SHTTPD_USER="shttpd" |
| 28 |
-- |
9 |
#SHTTPD_DOCROOT="/var/www/localhost/htdocs" |
|
|
10 |
#SHTTPD_LOG="/var/log/shttpd/access.log" |
| 11 |
#SHTTPD_ERROR="/var/log/shttpd/error.log" |
|
Lines 30-33
Link Here
|
| 30 |
SHTTPD_INDECIS="index.html,index.cgi" |
14 |
#SHTTPD_INDECIS="index.html,index.cgi" |
| 31 |
SHTTPD_CGIEXT=".cgi" |
15 |
#SHTTPD_CGIEXT=".cgi" |
| 32 |
SHTTPD_DOMAIN="localhost" |
16 |
#SHTTPD_DOMAIN="localhost" |
| 33 |
SHTTPD_MIME="/etc/mime.types" |
17 |
#SHTTPD_MIME="/etc/mime.types" |
| 34 |
-- |
|
|