Update of /cvsroot/lxr/lxr/templates
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8565/templates
Added Files:
thttpd-lxrserver.conf
Log Message:
templates/thttpd-lxrserver.conf: new configuration template for thttpd web server
--- NEW FILE: thttpd-lxrserver.conf ---
#
# LXR thttpd server configuration
#
# $Id: thttpd-lxrserver.conf,v 1.1 2013/09/24 09:39:45 ajlittoz Exp $
#
#
# ---- Copied from default configuration file ---- #
# BEWARE : No empty lines are allowed!
# This section overrides defaults
#LXR commented out dir=/var/www/thttpd
nochroot # uncommented for LXR
user=thttpd # default = nobody
logfile=/var/log/thttpd.log
pidfile=/var/run/thttpd.pid
# This section _documents_ defaults in effect
# port=80
# nosymlink # default = !chroot
# novhost
# nocgipat
# nothrottles
# host=0.0.0.0
# charset=iso-8859-1
# ---- End of copy ---- #
#@IF "%_shared%"
dir=/var/www/thttpd
#@ELSE
dir=%LXRroot%
#@ENDIF
#@IF 'H' eq "%_routing%" || 'P' eq "%_routing%"
# Allow multiple host names
vhost
# REMINDER: manually create the 'host' directories in dir
# and create 'virtroot' symbolic links in them
# to point back to dir.
#@ENDIF
#@IF 80 != %port%
# The port to listen to
port=%port%
#@ENDIF
# Disable symlink check for icons in directory listing
# NOTE: does not work if icons are stored outside dir (e.g. even
# as target of symbolic links)
nosymlink
# Tell which files are scripts
#@IF ! %_shared%
cgipat=diff|ident|search|showconfig|source
#@ELSE
# NOTE: the following pattern tries to cover all configuration cases
# but may allow for other non-LXR scripts to be run.
# If this is a security issue, manually adapt the pattern.
cgipat=**/diff|**/ident|**/search|**/showconfig|**/source
#@ENDIF
|