removed unnecessary etc files
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
# 1 = Try to detect unicast dns servers that serve .local and disable avahi in
|
||||
# that case, 0 = Don't try to detect .local unicast dns servers, can cause
|
||||
# troubles on misconfigured networks
|
||||
AVAHI_DAEMON_DETECT_LOCAL=1
|
||||
@@ -1,20 +0,0 @@
|
||||
# Defaults for bluez
|
||||
|
||||
# start bluetooth on boot?
|
||||
# compatibility note: if this variable is _not_ found bluetooth will start
|
||||
BLUETOOTH_ENABLED=1
|
||||
|
||||
# This setting used to switch HID devices (e.g mouse/keyboad) to HCI mode, that
|
||||
# is you will have bluetooth functionality from your dongle instead of only
|
||||
# HID. This is accomplished for supported devices by udev in
|
||||
# /lib/udev/rules.d/62-bluez-hid2hci.rules by invoking hid2hci with correct
|
||||
# parameters.
|
||||
# See /usr/share/doc/bluez/NEWS.Debian.gz for further information.
|
||||
|
||||
# Older daemons like pand dund and hidd can be found in bluez-compat package as
|
||||
# they are deprecated and provided for backward compatibility only.
|
||||
|
||||
# Note that not every bluetooth dongle is capable of switching back to HID mode,
|
||||
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
|
||||
HID2HCI_ENABLED=0
|
||||
HID2HCI_UNDO=0
|
||||
@@ -1,4 +0,0 @@
|
||||
# Uncomment the following line if you'd like all of your users'
|
||||
# ~/calendar files to be checked daily. Calendar will send them mail
|
||||
# to remind them of upcoming events. See calendar(1) for more details.
|
||||
#RUN_DAILY=true
|
||||
@@ -1,16 +0,0 @@
|
||||
# CONFIGURATION FILE FOR SETUPCON
|
||||
|
||||
# Consult the console-setup(5) manual page.
|
||||
|
||||
ACTIVE_CONSOLES="/dev/tty[1-6]"
|
||||
|
||||
CHARMAP="UTF-8"
|
||||
|
||||
CODESET="guess"
|
||||
FONTFACE=""
|
||||
FONTSIZE=""
|
||||
|
||||
VIDEOMODE=
|
||||
|
||||
# The following is an example how to use a braille font
|
||||
# FONT='lat9w-08.psf.gz brl-8x8.psf'
|
||||
@@ -1,11 +0,0 @@
|
||||
# Set REGDOMAIN to a ISO/IEC 3166-1 alpha2 country code so that iw(8) may set
|
||||
# the initial regulatory domain setting for IEEE 802.11 devices which operate
|
||||
# on this system.
|
||||
#
|
||||
# Governments assert the right to regulate usage of radio spectrum within
|
||||
# their respective territories so make sure you select a ISO/IEC 3166-1 alpha2
|
||||
# country code suitable for your location or you may infringe on local
|
||||
# legislature. See `/usr/share/zoneinfo/zone.tab' for a table of timezone
|
||||
# descriptions containing ISO/IEC 3166-1 alpha2 country codes.
|
||||
|
||||
REGDOMAIN=
|
||||
@@ -1,28 +0,0 @@
|
||||
# Cron configuration options
|
||||
|
||||
# Whether to read the system's default environment files (if present)
|
||||
# If set to "yes", cron will set a proper mail charset from the
|
||||
# locale information. If set to something other than 'yes', the default
|
||||
# charset 'C' (canonical name: ANSI_X3.4-1968) will be used.
|
||||
#
|
||||
# This has no effect on tasks running under cron; their environment can
|
||||
# only be changed via PAM or from within the crontab; see crontab(5).
|
||||
READ_ENV="yes"
|
||||
|
||||
# Extra options for cron, see cron(8)
|
||||
#
|
||||
# For example, to enable LSB name support in /etc/cron.d/, use
|
||||
# EXTRA_OPTS='-l'
|
||||
#
|
||||
# Or, to log standard messages, plus jobs with exit status != 0:
|
||||
# EXTRA_OPTS='-L 5'
|
||||
#
|
||||
# For quick reference, the currently available log levels are:
|
||||
# 0 no logging (errors are logged regardless)
|
||||
# 1 log start of jobs
|
||||
# 2 log end of jobs
|
||||
# 4 log jobs with exit status != 0
|
||||
# 8 log the process identifier of child process (in all logs)
|
||||
#
|
||||
#EXTRA_OPTS=""
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# This is a configuration file for /etc/init.d/dbus; it allows you to
|
||||
# perform common modifications to the behavior of the dbus daemon
|
||||
# startup without editing the init script (and thus getting prompted
|
||||
# by dpkg on upgrades). We all love dpkg prompts.
|
||||
|
||||
# Parameters to pass to dbus.
|
||||
PARAMS=""
|
||||
@@ -1,33 +0,0 @@
|
||||
# This file has five functions:
|
||||
# 1) to completely disable starting dnsmasq,
|
||||
# 2) to set DOMAIN_SUFFIX by running `dnsdomainname`
|
||||
# 3) to select an alternative config file
|
||||
# by setting DNSMASQ_OPTS to --conf-file=<file>
|
||||
# 4) to tell dnsmasq to read the files in /etc/dnsmasq.d for
|
||||
# more configuration variables.
|
||||
# 5) to stop the resolvconf package from controlling dnsmasq's
|
||||
# idea of which upstream nameservers to use.
|
||||
# For upgraders from very old versions, all the shell variables set
|
||||
# here in previous versions are still honored by the init script
|
||||
# so if you just keep your old version of this file nothing will break.
|
||||
|
||||
#DOMAIN_SUFFIX=`dnsdomainname`
|
||||
#DNSMASQ_OPTS="--conf-file=/etc/dnsmasq.alt"
|
||||
|
||||
# Whether or not to run the dnsmasq daemon; set to 0 to disable.
|
||||
ENABLED=1
|
||||
|
||||
# By default search this drop directory for configuration options.
|
||||
# Libvirt leaves a file here to make the system dnsmasq play nice.
|
||||
# Comment out this line if you don't want this. The dpkg-* are file
|
||||
# endings which cause dnsmasq to skip that file. This avoids pulling
|
||||
# in backups made by dpkg.
|
||||
CONFIG_DIR=/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new
|
||||
|
||||
# If the resolvconf package is installed, dnsmasq will use its output
|
||||
# rather than the contents of /etc/resolv.conf to find upstream
|
||||
# nameservers. Uncommenting this line inhibits this behaviour.
|
||||
# Note that including a "resolv-file=<filename>" line in
|
||||
# /etc/dnsmasq.conf is not enough to override resolvconf if it is
|
||||
# installed: the line below must be uncommented.
|
||||
IGNORE_RESOLVCONF=yes
|
||||
@@ -1,2 +0,0 @@
|
||||
# Uncomment to set clock even if saved value appears to be in the past
|
||||
#FORCE=force
|
||||
@@ -1,20 +0,0 @@
|
||||
# Defaults for hostapd initscript
|
||||
#
|
||||
# See /usr/share/doc/hostapd/README.Debian for information about alternative
|
||||
# methods of managing hostapd.
|
||||
#
|
||||
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
|
||||
# file and hostapd will be started during system boot. An example configuration
|
||||
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
|
||||
#
|
||||
DAEMON_CONF="/etc/hostapd/hostapd.conf"
|
||||
|
||||
# Additional daemon options to be appended to hostapd command:-
|
||||
# -d show more debug messages (-dd for even more)
|
||||
# -K include key data in debug messages
|
||||
# -t include timestamps in some debug messages
|
||||
#
|
||||
# Note that -B (daemon mode) and -P (pidfile) options are automatically
|
||||
# configured by the init.d script and must not be added to DAEMON_OPTS.
|
||||
#
|
||||
#DAEMON_OPTS=""
|
||||
@@ -1,19 +0,0 @@
|
||||
# Defaults for the hwclock init script. See hwclock(5) and hwclock(8).
|
||||
|
||||
# This is used to specify that the hardware clock incapable of storing
|
||||
# years outside the range of 1994-1999. Set to yes if the hardware is
|
||||
# broken or no if working correctly.
|
||||
#BADYEAR=no
|
||||
|
||||
# Set this to yes if it is possible to access the hardware clock,
|
||||
# or no if it is not.
|
||||
#HWCLOCKACCESS=yes
|
||||
|
||||
# Set this to any options you might need to give to hwclock, such
|
||||
# as machine hardware clock type for Alphas.
|
||||
#HWCLOCKPARS=
|
||||
|
||||
# Set this to the hardware clock device you want to use, it should
|
||||
# probably match the CONFIG_RTC_HCTOSYS_DEVICE kernel config option.
|
||||
#HCTOSYS_DEVICE=rtc0
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
# KEYBOARD CONFIGURATION FILE
|
||||
|
||||
# Consult the keyboard(5) manual page.
|
||||
|
||||
XKBMODEL="pc105"
|
||||
XKBLAYOUT="gb"
|
||||
XKBVARIANT=""
|
||||
XKBOPTIONS=""
|
||||
|
||||
BACKSPACE="guess"
|
||||
@@ -1,2 +0,0 @@
|
||||
# File generated by update-locale
|
||||
LANG=en_GB.UTF-8
|
||||
@@ -1,11 +0,0 @@
|
||||
# Configuration for networking init script being run during
|
||||
# the boot sequence
|
||||
|
||||
# Set to 'no' to skip interfaces configuration on boot
|
||||
#CONFIGURE_INTERFACES=yes
|
||||
|
||||
# Don't configure these interfaces. Shell wildcards supported/
|
||||
#EXCLUDE_INTERFACES=
|
||||
|
||||
# Set to 'yes' to enable additional verbosity
|
||||
#VERBOSE=no
|
||||
@@ -1,19 +0,0 @@
|
||||
# If you do not set values for the NEED_ options, they will be attempted
|
||||
# autodetected; this should be sufficient for most people. Valid alternatives
|
||||
# for the NEED_ options are "yes" and "no".
|
||||
|
||||
# Do you want to start the statd daemon? It is not needed for NFSv4.
|
||||
NEED_STATD=
|
||||
|
||||
# Options for rpc.statd.
|
||||
# Should rpc.statd listen on a specific port? This is especially useful
|
||||
# when you have a port-based firewall. To use a fixed port, set this
|
||||
# this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
|
||||
# For more information, see rpc.statd(8) or http://wiki.debian.org/SecuringNFS
|
||||
STATDOPTS=
|
||||
|
||||
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
|
||||
NEED_IDMAPD=
|
||||
|
||||
# Do you want to start the gssd daemon? It is required for Kerberos mounts.
|
||||
NEED_GSSD=
|
||||
@@ -1,37 +0,0 @@
|
||||
# /etc/default/nss
|
||||
# This file can theoretically contain a bunch of customization variables
|
||||
# for Name Service Switch in the GNU C library. For now there are only
|
||||
# four variables:
|
||||
#
|
||||
# NETID_AUTHORITATIVE
|
||||
# If set to TRUE, the initgroups() function will accept the information
|
||||
# from the netid.byname NIS map as authoritative. This can speed up the
|
||||
# function significantly if the group.byname map is large. The content
|
||||
# of the netid.byname map is used AS IS. The system administrator has
|
||||
# to make sure it is correctly generated.
|
||||
#NETID_AUTHORITATIVE=TRUE
|
||||
#
|
||||
# SERVICES_AUTHORITATIVE
|
||||
# If set to TRUE, the getservbyname{,_r}() function will assume
|
||||
# services.byservicename NIS map exists and is authoritative, particularly
|
||||
# that it contains both keys with /proto and without /proto for both
|
||||
# primary service names and service aliases. The system administrator
|
||||
# has to make sure it is correctly generated.
|
||||
#SERVICES_AUTHORITATIVE=TRUE
|
||||
#
|
||||
# SETENT_BATCH_READ
|
||||
# If set to TRUE, various setXXent() functions will read the entire
|
||||
# database at once and then hand out the requests one by one from
|
||||
# memory with every getXXent() call. Otherwise each getXXent() call
|
||||
# might result into a network communication with the server to get
|
||||
# the next entry.
|
||||
#SETENT_BATCH_READ=TRUE
|
||||
#
|
||||
# ADJUNCT_AS_SHADOW
|
||||
# If set to TRUE, the passwd routines in the NIS NSS module will not
|
||||
# use the passwd.adjunct.byname tables to fill in the password data
|
||||
# in the passwd structure. This is a security problem if the NIS
|
||||
# server cannot be trusted to send the passwd.adjuct table only to
|
||||
# privileged clients. Instead the passwd.adjunct.byname table is
|
||||
# used to synthesize the shadow.byname table if it does not exist.
|
||||
ADJUNCT_AS_SHADOW=TRUE
|
||||
@@ -1,11 +0,0 @@
|
||||
# Defaults for raspberrypi-kernel
|
||||
|
||||
# Uncomment the following line to enable generation of
|
||||
# /boot/initrd.img-KVER files (requires initramfs-tools)
|
||||
|
||||
#INITRD=Yes
|
||||
|
||||
# Uncomment the following line to enable generation of
|
||||
# /boot/initrd(7).img files (requires rpi-initramfs-tools)
|
||||
|
||||
#RPI_INITRD=Yes
|
||||
@@ -1,47 +0,0 @@
|
||||
# defaults file for rsync daemon mode
|
||||
#
|
||||
# This file is only used for init.d based systems!
|
||||
# If this system uses systemd, you can specify options etc. for rsync
|
||||
# in daemon mode by copying /lib/systemd/system/rsync.service to
|
||||
# /etc/systemd/system/rsync.service and modifying the copy; add required
|
||||
# options to the ExecStart line.
|
||||
|
||||
# start rsync in daemon mode from init.d script?
|
||||
# only allowed values are "true", "false", and "inetd"
|
||||
# Use "inetd" if you want to start the rsyncd from inetd,
|
||||
# all this does is prevent the init.d script from printing a message
|
||||
# about not starting rsyncd (you still need to modify inetd's config yourself).
|
||||
RSYNC_ENABLE=false
|
||||
|
||||
# which file should be used as the configuration file for rsync.
|
||||
# This file is used instead of the default /etc/rsyncd.conf
|
||||
# Warning: This option has no effect if the daemon is accessed
|
||||
# using a remote shell. When using a different file for
|
||||
# rsync you might want to symlink /etc/rsyncd.conf to
|
||||
# that file.
|
||||
# RSYNC_CONFIG_FILE=
|
||||
|
||||
# what extra options to give rsync --daemon?
|
||||
# that excludes the --daemon; that's always done in the init.d script
|
||||
# Possibilities are:
|
||||
# --address=123.45.67.89 (bind to a specific IP address)
|
||||
# --port=8730 (bind to specified port; default 873)
|
||||
RSYNC_OPTS=''
|
||||
|
||||
# run rsyncd at a nice level?
|
||||
# the rsync daemon can impact performance due to much I/O and CPU usage,
|
||||
# so you may want to run it at a nicer priority than the default priority.
|
||||
# Allowed values are 0 - 19 inclusive; 10 is a reasonable value.
|
||||
RSYNC_NICE=''
|
||||
|
||||
# run rsyncd with ionice?
|
||||
# "ionice" does for IO load what "nice" does for CPU load.
|
||||
# As rsync is often used for backups which aren't all that time-critical,
|
||||
# reducing the rsync IO priority will benefit the rest of the system.
|
||||
# See the manpage for ionice for allowed options.
|
||||
# -c3 is recommended, this will run rsync IO at "idle" priority. Uncomment
|
||||
# the next line to activate this.
|
||||
# RSYNC_IONICE='-c3'
|
||||
|
||||
# Don't forget to create an appropriate config file,
|
||||
# else the daemon will not start.
|
||||
@@ -1,4 +0,0 @@
|
||||
# Options for rsyslogd
|
||||
# -x disables DNS lookups for remote messages
|
||||
# See rsyslogd(8) for more details
|
||||
RSYSLOGD_OPTIONS=""
|
||||
@@ -1,5 +0,0 @@
|
||||
# Default settings for openssh-server. This file is sourced by /bin/sh from
|
||||
# /etc/init.d/ssh.
|
||||
|
||||
# Options to pass to sshd
|
||||
SSHD_OPTS=
|
||||
@@ -1,22 +0,0 @@
|
||||
# Defaults for TiMidity++ scripts
|
||||
# sourced by /etc/init.d/timidity
|
||||
# installed at /etc/default/timidity by the maintainer scripts
|
||||
# $Id: timidity.default,v 1.3 2004/08/07 14:33:26 hmh Exp $
|
||||
|
||||
#
|
||||
# This is a POSIX shell fragment
|
||||
#
|
||||
|
||||
SERVER_HOME=/etc/timidity
|
||||
SERVER_USER=timidity
|
||||
SERVER_NAME="TiMidity++ MIDI sequencer service"
|
||||
SERVER_GROUP=timidity
|
||||
ADDGROUP=audio
|
||||
|
||||
# Enable MIDI sequencer (ALSA), if timidity-deamon is installed
|
||||
|
||||
# uncomment to override enabling triggered by availability of timidity-deamon
|
||||
# TIM_ALSASEQ=false
|
||||
|
||||
# Setting overrides (of /etc/timidity.conf) for the ALSA sequencer daemon
|
||||
TIM_ALSASEQPARAMS="-Os"
|
||||
@@ -1,17 +0,0 @@
|
||||
# Defaults for triggerhappy initscript
|
||||
# sourced by /etc/init.d/triggerhappy
|
||||
# installed at /etc/default/triggerhappy by the maintainer scripts
|
||||
|
||||
#
|
||||
# This is a POSIX shell fragment
|
||||
#
|
||||
|
||||
# Additional options that are passed to the Daemon.
|
||||
DAEMON_OPTS=""
|
||||
|
||||
# The Triggerhappy daemon (thd) drops its root privileges after
|
||||
# startup and becomes "nobody". If you want it to retain its root
|
||||
# status (e.g. to run commands only accessible to the system user),
|
||||
# uncomment the following line or specifiy the user option yourself:
|
||||
#
|
||||
# DAEMON_OPTS="--user root"
|
||||
@@ -1,37 +0,0 @@
|
||||
# Default values for useradd(8)
|
||||
#
|
||||
# The SHELL variable specifies the default login shell on your
|
||||
# system.
|
||||
# Similar to DHSELL in adduser. However, we use "sh" here because
|
||||
# useradd is a low level utility and should be as general
|
||||
# as possible
|
||||
SHELL=/bin/bash
|
||||
#
|
||||
# The default group for users
|
||||
# 100=users on Debian systems
|
||||
# Same as USERS_GID in adduser
|
||||
# This argument is used when the -n flag is specified.
|
||||
# The default behavior (when -n and -g are not specified) is to create a
|
||||
# primary user group with the same name as the user being added to the
|
||||
# system.
|
||||
# GROUP=100
|
||||
#
|
||||
# The default home directory. Same as DHOME for adduser
|
||||
# HOME=/home
|
||||
#
|
||||
# The number of days after a password expires until the account
|
||||
# is permanently disabled
|
||||
# INACTIVE=-1
|
||||
#
|
||||
# The default expire date
|
||||
# EXPIRE=
|
||||
#
|
||||
# The SKEL variable specifies the directory containing "skeletal" user
|
||||
# files; in other words, files such as a sample .profile that will be
|
||||
# copied to the new user's home directory when it is created.
|
||||
SKEL=/etc/skel
|
||||
#
|
||||
# Defines whether the mail spool should be created while
|
||||
# creating the account
|
||||
# CREATE_MAIL_SPOOL=yes
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/authentication.txt.gz
|
||||
|
||||
server.modules += ( "mod_auth" )
|
||||
|
||||
# auth.backend = "plain"
|
||||
# auth.backend.plain.userfile = "lighttpd.user"
|
||||
# auth.backend.plain.groupfile = "lighttpd.group"
|
||||
|
||||
# auth.backend.ldap.hostname = "localhost"
|
||||
# auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
|
||||
# auth.backend.ldap.filter = "(uid=$)"
|
||||
|
||||
# auth.require = ( "/server-status" =>
|
||||
# (
|
||||
# "method" => "digest",
|
||||
# "realm" => "download archiv",
|
||||
# "require" => "group=www|user=jan|host=192.168.2.10"
|
||||
# ),
|
||||
# "/server-info" =>
|
||||
# (
|
||||
# "method" => "digest",
|
||||
# "realm" => "download archiv",
|
||||
# "require" => "group=www|user=jan|host=192.168.2.10"
|
||||
# )
|
||||
# )
|
||||
@@ -1,3 +0,0 @@
|
||||
server.modules += ( "mod_accesslog" )
|
||||
|
||||
accesslog.filename = "/var/log/lighttpd/access.log"
|
||||
@@ -1,15 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/cgi.txt
|
||||
|
||||
server.modules += ( "mod_cgi" )
|
||||
|
||||
$HTTP["url"] =~ "^/cgi-bin/" {
|
||||
cgi.assign = ( "" => "" )
|
||||
}
|
||||
|
||||
## Warning this represents a security risk, as it allow to execute any file
|
||||
## with a .pl/.py even outside of /usr/lib/cgi-bin.
|
||||
#
|
||||
#cgi.assign = (
|
||||
# ".pl" => "/usr/bin/perl",
|
||||
# ".py" => "/usr/bin/python",
|
||||
#)
|
||||
@@ -1,2 +0,0 @@
|
||||
dir-listing.encoding = "utf-8"
|
||||
server.dir-listing = "enable"
|
||||
@@ -1 +0,0 @@
|
||||
server.modules += ( "mod_evasive" )
|
||||
@@ -1,5 +0,0 @@
|
||||
# http://redmine.lighttpd.net/wiki/1/Docs:ModEVhost
|
||||
|
||||
server.modules += ( "mod_evhost" )
|
||||
|
||||
evhost.path-pattern = "/srv/%_/htdocs"
|
||||
@@ -1,3 +0,0 @@
|
||||
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
|
||||
|
||||
server.modules += ( "mod_expire" )
|
||||
@@ -1,4 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/fastcgi.txt.gz
|
||||
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi
|
||||
|
||||
server.modules += ( "mod_fastcgi" )
|
||||
@@ -1 +0,0 @@
|
||||
server.modules += ( "mod_flv_streaming" )
|
||||
@@ -1,3 +0,0 @@
|
||||
$HTTP["host"] =~ "^www\.(.*)" {
|
||||
url.redirect = ( "^/(.*)" => "http://%1/$1" )
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/proxy.txt
|
||||
|
||||
server.modules += ( "mod_proxy" )
|
||||
|
||||
## Balance algorithm, possible values are: "hash", "round-robin" or "fair" (default)
|
||||
# proxy.balance = "hash"
|
||||
|
||||
|
||||
## Redirect all queries to files ending with ".php" to 192.168.0.101:80
|
||||
#proxy.server = ( ".php" =>
|
||||
# (
|
||||
# ( "host" => "192.168.0.101",
|
||||
# "port" => 80
|
||||
# )
|
||||
# )
|
||||
# )
|
||||
|
||||
## Redirect all connections on www.example.com to 10.0.0.1{0,1,2,3}
|
||||
#$HTTP["host"] == "www.example.com" {
|
||||
# proxy.balance = "hash"
|
||||
# proxy.server = ( "" => ( ( "host" => "10.0.0.10" ),
|
||||
# ( "host" => "10.0.0.11" ),
|
||||
# ( "host" => "10.0.0.12" ),
|
||||
# ( "host" => "10.0.0.13" ) ) )
|
||||
#}
|
||||
@@ -1,4 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/rewrite.txt
|
||||
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ConfigurationOptions#mod_rewrite-rewriting
|
||||
|
||||
server.modules += ( "mod_rewrite" )
|
||||
@@ -1,10 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/rrdtool.txt
|
||||
|
||||
server.modules += ( "mod_rrdtool" )
|
||||
|
||||
## path to the rrdtool binary
|
||||
rrdtool.binary = "/usr/bin/rrdtool"
|
||||
|
||||
## file to store the rrd database, will be created by lighttpd
|
||||
rrdtool.db-name = "/var/www/lighttpd.rrd"
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/simple-vhost.txt
|
||||
|
||||
server.modules += ( "mod_simple_vhost" )
|
||||
|
||||
## The document root of a virtual host is document-root =
|
||||
## simple-vhost.server-root + $HTTP["host"] + simple-vhost.document-root
|
||||
simple-vhost.server-root = "/srv"
|
||||
simple-vhost.document-root = "htdocs"
|
||||
|
||||
## the default host if no host is sent
|
||||
simple-vhost.default-host = "www.example.com"
|
||||
@@ -1,5 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/ssi.txt
|
||||
|
||||
server.modules += ( "mod_ssi" )
|
||||
|
||||
ssi.extension = ( ".shtml" )
|
||||
@@ -1,9 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/ssl.txt
|
||||
|
||||
$SERVER["socket"] == "0.0.0.0:443" {
|
||||
ssl.engine = "enable"
|
||||
ssl.pemfile = "/etc/lighttpd/server.pem"
|
||||
|
||||
ssl.cipher-list = "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"
|
||||
ssl.honor-cipher-order = "enable"
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
# /usr/share/doc/lighttpd/status.txt
|
||||
# http://trac.lighttpd.net/trac/wiki/Docs%3AModStatus
|
||||
|
||||
server.modules += ( "mod_status" )
|
||||
|
||||
# status.status-url = "/server-status"
|
||||
|
||||
# status.config-url = "/server-config"
|
||||
|
||||
## relative URL for a plain-text page containing the internal statistics
|
||||
# status.statistics-url = "/server-statistics"
|
||||
|
||||
## add JavaScript which allows client-side sorting for the connection overview
|
||||
## default: enable
|
||||
# status.enable-sort = "disable"
|
||||
@@ -1,13 +0,0 @@
|
||||
## The userdir module provides a simple way to link user-based directories into
|
||||
## the global namespace of the webserver.
|
||||
##
|
||||
# /usr/share/doc/lighttpd/userdir.txt
|
||||
|
||||
server.modules += ( "mod_userdir" )
|
||||
|
||||
## the subdirectory of a user's home dir which should be accessible
|
||||
## under http://$host/~$user
|
||||
userdir.path = "public_html"
|
||||
|
||||
## The users whose home directories should not be accessible
|
||||
userdir.exclude-user = ( "root", "postmaster" )
|
||||
@@ -1 +0,0 @@
|
||||
server.modules += ( "mod_usertrack" )
|
||||
@@ -1,6 +0,0 @@
|
||||
# -*- depends: accesslog -*-
|
||||
|
||||
server.modules += ( "mod_extforward" )
|
||||
|
||||
# extforward.headers = ("X-Cluster-Client-Ip")
|
||||
# extforward.forwarder = ("10.0.0.232" => "trust")
|
||||
@@ -1,20 +0,0 @@
|
||||
# -*- depends: fastcgi -*-
|
||||
# /usr/share/doc/lighttpd/fastcgi.txt.gz
|
||||
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi
|
||||
|
||||
## Start an FastCGI server for php (needs the php5-cgi package)
|
||||
fastcgi.server += ( ".php" =>
|
||||
((
|
||||
"bin-path" => "/usr/bin/php-cgi",
|
||||
"socket" => "/var/run/lighttpd/php.socket",
|
||||
"max-procs" => 1,
|
||||
"bin-environment" => (
|
||||
"PHP_FCGI_CHILDREN" => "4",
|
||||
"PHP_FCGI_MAX_REQUESTS" => "10000"
|
||||
),
|
||||
"bin-copy-environment" => (
|
||||
"PATH", "SHELL", "USER"
|
||||
),
|
||||
"broken-scriptfilename" => "enable"
|
||||
))
|
||||
)
|
||||
@@ -1,15 +0,0 @@
|
||||
#### handle Debian Policy Manual, Section 11.5. urls
|
||||
## by default allow them only from localhost
|
||||
$HTTP["remoteip"] =~ "^127\.0\.0\.1$|^::1$" {
|
||||
alias.url += (
|
||||
"/cgi-bin/" => "/usr/lib/cgi-bin/",
|
||||
"/doc/" => "/usr/share/doc/",
|
||||
"/images/" => "/usr/share/images/"
|
||||
)
|
||||
$HTTP["url"] =~ "^/doc/|^/images/" {
|
||||
dir-listing.activate = "enable"
|
||||
}
|
||||
$HTTP["url"] =~ "^/cgi-bin/" {
|
||||
cgi.assign = ( "" => "" )
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
alias.url += ("/javascript" => "/usr/share/javascript")
|
||||
@@ -1,22 +0,0 @@
|
||||
ligghttpd Configuration under Debian GNU/Linux
|
||||
==============================================
|
||||
|
||||
Files and Directories in /etc/lighttpd:
|
||||
---------------------------------------
|
||||
|
||||
lighttpd.conf:
|
||||
main configuration file
|
||||
|
||||
conf-available/
|
||||
This directory contains a series of .conf files. These files contain
|
||||
configuration directives necessary to load and run webserver modules.
|
||||
If you want to create your own files they names should be
|
||||
build as nn-name.conf where "nn" is two digit number (number
|
||||
is used to find order for loading files)
|
||||
|
||||
conf-enabled/
|
||||
To actually enable a module for lighttpd, it is necessary to create a
|
||||
symlink in this directory to the .conf file in conf-available/.
|
||||
|
||||
Enabling and disabling modules could be done by provided
|
||||
/usr/sbin/lighty-enable-mod and /usr/sbin/lighty-disable-mod scripts.
|
||||
Reference in New Issue
Block a user