summaryrefslogtreecommitdiff
blob: aeaeaeaeb2770e930e86ee687906bfd1c0750950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# /etc/init.d/shttpd:
# $Header: /var/cvsroot/gentoo-x86/www-servers/shttpd/files/shttpd.confd,v 1.1 2005/06/06 14:17:42 ka0ttic Exp $
#
# 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_USER="shttpd"
SHTTPD_DOCROOT="/var/www/localhost/htdocs"
SHTTPD_LOG="/var/log/shttpd/access.log"
SHTTPD_ERROR="/var/log/shttpd/error.log"

# comma separated list of files shttpd will interpret as index files
SHTTPD_INDECIS="index.html,index.cgi"
SHTTPD_CGIEXT=".cgi"
SHTTPD_DOMAIN="localhost"
SHTTPD_MIME="/etc/mime.types"

# set any extra options here.
#SHTTPD_EXTRAOPTS=""