|
|
# |
|
# usage: shttpd [OPTIONS] |
|
# -d <directory> wwwroot (dflt: ) |
|
# -D no directory listing |
|
# -p <port> listening port (dflt: 80 or 443) |
|
# -l <logfile> access log file (dflt: shttpd.log) |
|
# -I inetd mode |
|
# -e <errorlog> error log file |
|
# -i <files> index files (dflt: index.html,index.cgi) |
|
# -c <cgi_ext> CGI file pattern (dflt: .cgi) |
|
# -P <passfile> global auth file |
|
# -A <passfile> <domain> <user> <password> edit .htpasswd file |
|
# -u <login_name> switch UID to user <login_name> |
|
# -N <servername> server domain name (auth realm) (dflt: mydomain.com) |
|
# -m <mime_file> mime types file |
|
# -v debug mode |
|
# -s <pem_file> SSL certfileificate file (dflt: shttpd.pem) |
|
# -S use SSL |
|
# |
|
|
|
SHTTPD_PORT="81" |
# shttpd now uses /etc/shttpd/shttpd.conf. |
SHTTPD_USER="shttpd" |
# This file is obsolette and will be removed later. |
SHTTPD_DOCROOT="/var/www/localhost/htdocs" |
|
SHTTPD_LOG="/var/log/shttpd/access.log" |
#SHTTPD_PORT="81" |
SHTTPD_ERROR="/var/log/shttpd/error.log" |
#SHTTPD_USER="shttpd" |
|
#SHTTPD_DOCROOT="/var/www/localhost/htdocs" |
|
#SHTTPD_LOG="/var/log/shttpd/access.log" |
|
#SHTTPD_ERROR="/var/log/shttpd/error.log" |
|
|
SHTTPD_INDECIS="index.html,index.cgi" |
#SHTTPD_INDECIS="index.html,index.cgi" |
SHTTPD_CGIEXT=".cgi" |
#SHTTPD_CGIEXT=".cgi" |
SHTTPD_DOMAIN="localhost" |
#SHTTPD_DOMAIN="localhost" |
SHTTPD_MIME="/etc/mime.types" |
#SHTTPD_MIME="/etc/mime.types" |