Blah
This commit is contained in:
@@ -1,158 +0,0 @@
|
||||
# This is a modification of the default Apache 2.2 configuration file
|
||||
# for Gentoo Linux.
|
||||
#
|
||||
# Support:
|
||||
# http://www.gentoo.org/main/en/lists.xml [mailing lists]
|
||||
# http://forums.gentoo.org/ [web forums]
|
||||
# irc://irc.freenode.net#gentoo-apache [irc chat]
|
||||
#
|
||||
# Bug Reports:
|
||||
# http://bugs.gentoo.org [gentoo related bugs]
|
||||
# http://httpd.apache.org/bug_report.html [apache httpd related bugs]
|
||||
#
|
||||
#
|
||||
# This is the main Apache HTTP server configuration file. It contains the
|
||||
# configuration directives that give the server its instructions.
|
||||
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
|
||||
# In particular, see
|
||||
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
|
||||
# for a discussion of each configuration directive.
|
||||
#
|
||||
# Do NOT simply read the instructions in here without understanding
|
||||
# what they do. They're here only as hints or reminders. If you are unsure
|
||||
# consult the online docs. You have been warned.
|
||||
#
|
||||
# Configuration and logfile names: If the filenames you specify for many
|
||||
# of the server's control files begin with "/" (or "drive:/" for Win32), the
|
||||
# server will use that explicit path. If the filenames do *not* begin
|
||||
# with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
|
||||
# with ServerRoot set to "/usr" will be interpreted by the
|
||||
# server as "/usr/var/log/apache2/foo.log".
|
||||
|
||||
# ServerRoot: The top of the directory tree under which the server's
|
||||
# configuration, error, and log files are kept.
|
||||
#
|
||||
# Do not add a slash at the end of the directory path. If you point
|
||||
# ServerRoot at a non-local disk, be sure to point the LockFile directive
|
||||
# at a local disk. If you wish to share the same ServerRoot for multiple
|
||||
# httpd daemons, you will need to change at least LockFile and PidFile.
|
||||
ServerRoot "/usr/lib64/apache2"
|
||||
|
||||
# Dynamic Shared Object (DSO) Support
|
||||
#
|
||||
# To be able to use the functionality of a module which was built as a DSO you
|
||||
# have to place corresponding `LoadModule' lines at this location so the
|
||||
# directives contained in it are actually available _before_ they are used.
|
||||
# Statically compiled modules (those listed by `httpd -l') do not need
|
||||
# to be loaded here.
|
||||
#
|
||||
# Example:
|
||||
# LoadModule foo_module modules/mod_foo.so
|
||||
#
|
||||
# GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
|
||||
# Do not change manually, it will be overwritten on upgrade.
|
||||
#
|
||||
# The following modules are considered as the default configuration.
|
||||
# If you wish to disable one of them, you may have to alter other
|
||||
# configuration directives.
|
||||
#
|
||||
# Change these at your own risk!
|
||||
|
||||
LoadModule actions_module modules/mod_actions.so
|
||||
LoadModule alias_module modules/mod_alias.so
|
||||
LoadModule auth_basic_module modules/mod_auth_basic.so
|
||||
LoadModule authn_alias_module modules/mod_authn_alias.so
|
||||
LoadModule authn_anon_module modules/mod_authn_anon.so
|
||||
LoadModule authn_dbm_module modules/mod_authn_dbm.so
|
||||
LoadModule authn_default_module modules/mod_authn_default.so
|
||||
LoadModule authn_file_module modules/mod_authn_file.so
|
||||
LoadModule authz_dbm_module modules/mod_authz_dbm.so
|
||||
LoadModule authz_default_module modules/mod_authz_default.so
|
||||
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
|
||||
LoadModule authz_host_module modules/mod_authz_host.so
|
||||
LoadModule authz_owner_module modules/mod_authz_owner.so
|
||||
LoadModule authz_user_module modules/mod_authz_user.so
|
||||
LoadModule autoindex_module modules/mod_autoindex.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule cache_module modules/mod_cache.so
|
||||
</IfDefine>
|
||||
LoadModule cgi_module modules/mod_cgi.so
|
||||
LoadModule cgid_module modules/mod_cgid.so
|
||||
<IfDefine DAV>
|
||||
LoadModule dav_module modules/mod_dav.so
|
||||
</IfDefine>
|
||||
<IfDefine DAV>
|
||||
LoadModule dav_fs_module modules/mod_dav_fs.so
|
||||
</IfDefine>
|
||||
<IfDefine DAV>
|
||||
LoadModule dav_lock_module modules/mod_dav_lock.so
|
||||
</IfDefine>
|
||||
LoadModule deflate_module modules/mod_deflate.so
|
||||
LoadModule dir_module modules/mod_dir.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule disk_cache_module modules/mod_disk_cache.so
|
||||
</IfDefine>
|
||||
LoadModule env_module modules/mod_env.so
|
||||
LoadModule expires_module modules/mod_expires.so
|
||||
LoadModule ext_filter_module modules/mod_ext_filter.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule file_cache_module modules/mod_file_cache.so
|
||||
</IfDefine>
|
||||
LoadModule filter_module modules/mod_filter.so
|
||||
LoadModule headers_module modules/mod_headers.so
|
||||
LoadModule include_module modules/mod_include.so
|
||||
<IfDefine INFO>
|
||||
LoadModule info_module modules/mod_info.so
|
||||
</IfDefine>
|
||||
LoadModule log_config_module modules/mod_log_config.so
|
||||
LoadModule logio_module modules/mod_logio.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule mem_cache_module modules/mod_mem_cache.so
|
||||
</IfDefine>
|
||||
LoadModule mime_module modules/mod_mime.so
|
||||
LoadModule mime_magic_module modules/mod_mime_magic.so
|
||||
LoadModule negotiation_module modules/mod_negotiation.so
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule setenvif_module modules/mod_setenvif.so
|
||||
LoadModule speling_module modules/mod_speling.so
|
||||
<IfDefine SSL>
|
||||
LoadModule ssl_module modules/mod_ssl.so
|
||||
</IfDefine>
|
||||
<IfDefine STATUS>
|
||||
LoadModule status_module modules/mod_status.so
|
||||
</IfDefine>
|
||||
LoadModule unique_id_module modules/mod_unique_id.so
|
||||
<IfDefine USERDIR>
|
||||
LoadModule userdir_module modules/mod_userdir.so
|
||||
</IfDefine>
|
||||
LoadModule usertrack_module modules/mod_usertrack.so
|
||||
LoadModule vhost_alias_module modules/mod_vhost_alias.so
|
||||
|
||||
# If you wish httpd to run as a different user or group, you must run
|
||||
# httpd as root initially and it will switch.
|
||||
#
|
||||
# User/Group: The name (or #number) of the user/group to run httpd as.
|
||||
# It is usually good practice to create a dedicated user and group for
|
||||
# running httpd, as with most system services.
|
||||
User apache
|
||||
Group apache
|
||||
|
||||
# Supplemental configuration
|
||||
#
|
||||
# Most of the configuration files in the /etc/apache2/modules.d/ directory can
|
||||
# be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
|
||||
# or to modify the default configuration of the server.
|
||||
#
|
||||
# To know which flag to add to APACHE2_OPTS, look at the first line of the
|
||||
# the file, which will usually be an <IfDefine OPTION> where OPTION is the
|
||||
# flag to use.
|
||||
Include /etc/apache2/modules.d/*.conf
|
||||
|
||||
# Virtual-host support
|
||||
#
|
||||
# Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
|
||||
# include a default vhost (enabled by adding -D DEFAULT_VHOST to
|
||||
# APACHE2_OPTS in /etc/conf.d/apache2).
|
||||
Include /etc/apache2/vhosts.d/*.conf
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,385 +0,0 @@
|
||||
# Magic data for mod_mime_magic Apache module (originally for file(1) command)
|
||||
# The module is described in /manual/mod/mod_mime_magic.html
|
||||
#
|
||||
# The format is 4-5 columns:
|
||||
# Column #1: byte number to begin checking from, ">" indicates continuation
|
||||
# Column #2: type of data to match
|
||||
# Column #3: contents of data to match
|
||||
# Column #4: MIME type of result
|
||||
# Column #5: MIME encoding of result (optional)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Localstuff: file(1) magic for locally observed files
|
||||
# Add any locally observed files here.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# end local stuff
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Java
|
||||
|
||||
0 short 0xcafe
|
||||
>2 short 0xbabe application/java
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# audio: file(1) magic for sound formats
|
||||
#
|
||||
# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,
|
||||
#
|
||||
|
||||
# Sun/NeXT audio data
|
||||
0 string .snd
|
||||
>12 belong 1 audio/basic
|
||||
>12 belong 2 audio/basic
|
||||
>12 belong 3 audio/basic
|
||||
>12 belong 4 audio/basic
|
||||
>12 belong 5 audio/basic
|
||||
>12 belong 6 audio/basic
|
||||
>12 belong 7 audio/basic
|
||||
|
||||
>12 belong 23 audio/x-adpcm
|
||||
|
||||
# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
|
||||
# that uses little-endian encoding and has a different magic number
|
||||
# (0x0064732E in little-endian encoding).
|
||||
0 lelong 0x0064732E
|
||||
>12 lelong 1 audio/x-dec-basic
|
||||
>12 lelong 2 audio/x-dec-basic
|
||||
>12 lelong 3 audio/x-dec-basic
|
||||
>12 lelong 4 audio/x-dec-basic
|
||||
>12 lelong 5 audio/x-dec-basic
|
||||
>12 lelong 6 audio/x-dec-basic
|
||||
>12 lelong 7 audio/x-dec-basic
|
||||
# compressed (G.721 ADPCM)
|
||||
>12 lelong 23 audio/x-dec-adpcm
|
||||
|
||||
# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are "FORM"
|
||||
# AIFF audio data
|
||||
8 string AIFF audio/x-aiff
|
||||
# AIFF-C audio data
|
||||
8 string AIFC audio/x-aiff
|
||||
# IFF/8SVX audio data
|
||||
8 string 8SVX audio/x-aiff
|
||||
|
||||
# Creative Labs AUDIO stuff
|
||||
# Standard MIDI data
|
||||
0 string MThd audio/unknown
|
||||
#>9 byte >0 (format %d)
|
||||
#>11 byte >1 using %d channels
|
||||
# Creative Music (CMF) data
|
||||
0 string CTMF audio/unknown
|
||||
# SoundBlaster instrument data
|
||||
0 string SBI audio/unknown
|
||||
# Creative Labs voice data
|
||||
0 string Creative\ Voice\ File audio/unknown
|
||||
## is this next line right? it came this way...
|
||||
#>19 byte 0x1A
|
||||
#>23 byte >0 - version %d
|
||||
#>22 byte >0 \b.%d
|
||||
|
||||
# [GRR 950115: is this also Creative Labs? Guessing that first line
|
||||
# should be string instead of unknown-endian long...]
|
||||
#0 long 0x4e54524b MultiTrack sound data
|
||||
#0 string NTRK MultiTrack sound data
|
||||
#>4 long x - version %ld
|
||||
|
||||
# Microsoft WAVE format (*.wav)
|
||||
# [GRR 950115: probably all of the shorts and longs should be leshort/lelong]
|
||||
# Microsoft RIFF
|
||||
0 string RIFF audio/unknown
|
||||
# - WAVE format
|
||||
>8 string WAVE audio/x-wav
|
||||
# MPEG audio.
|
||||
0 beshort&0xfff0 0xfff0 audio/mpeg
|
||||
# C64 SID Music files, from Linus Walleij <triad@df.lth.se>
|
||||
0 string PSID audio/prs.sid
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# c-lang: file(1) magic for C programs or various scripts
|
||||
#
|
||||
|
||||
# XPM icons (Greg Roelofs, newt@uchicago.edu)
|
||||
# ideally should go into "images", but entries below would tag XPM as C source
|
||||
0 string /*\ XPM image/x-xbm 7bit
|
||||
|
||||
# this first will upset you if you're a PL/1 shop... (are there any left?)
|
||||
# in which case rm it; ascmagic will catch real C programs
|
||||
# C or REXX program text
|
||||
0 string /* text/plain
|
||||
# C++ program text
|
||||
0 string // text/plain
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# compress: file(1) magic for pure-compression formats (no archives)
|
||||
#
|
||||
# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.
|
||||
#
|
||||
# Formats for various forms of compressed data
|
||||
# Formats for "compress" proper have been moved into "compress.c",
|
||||
# because it tries to uncompress it to figure out what's inside.
|
||||
|
||||
# standard unix compress
|
||||
0 string \037\235 application/octet-stream x-compress
|
||||
|
||||
# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
|
||||
0 string \037\213 application/octet-stream x-gzip
|
||||
|
||||
# According to gzip.h, this is the correct byte order for packed data.
|
||||
0 string \037\036 application/octet-stream
|
||||
#
|
||||
# This magic number is byte-order-independent.
|
||||
#
|
||||
0 short 017437 application/octet-stream
|
||||
|
||||
# XXX - why *two* entries for "compacted data", one of which is
|
||||
# byte-order independent, and one of which is byte-order dependent?
|
||||
#
|
||||
# compacted data
|
||||
0 short 0x1fff application/octet-stream
|
||||
0 string \377\037 application/octet-stream
|
||||
# huf output
|
||||
0 short 0145405 application/octet-stream
|
||||
|
||||
# Squeeze and Crunch...
|
||||
# These numbers were gleaned from the Unix versions of the programs to
|
||||
# handle these formats. Note that I can only uncrunch, not crunch, and
|
||||
# I didn't have a crunched file handy, so the crunch number is untested.
|
||||
# Keith Waclena <keith@cerberus.uchicago.edu>
|
||||
#0 leshort 0x76FF squeezed data (CP/M, DOS)
|
||||
#0 leshort 0x76FE crunched data (CP/M, DOS)
|
||||
|
||||
# Freeze
|
||||
#0 string \037\237 Frozen file 2.1
|
||||
#0 string \037\236 Frozen file 1.0 (or gzip 0.5)
|
||||
|
||||
# lzh?
|
||||
#0 string \037\240 LZH compressed data
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# frame: file(1) magic for FrameMaker files
|
||||
#
|
||||
# This stuff came on a FrameMaker demo tape, most of which is
|
||||
# copyright, but this file is "published" as witness the following:
|
||||
#
|
||||
0 string \<MakerFile application/x-frame
|
||||
0 string \<MIFFile application/x-frame
|
||||
0 string \<MakerDictionary application/x-frame
|
||||
0 string \<MakerScreenFon application/x-frame
|
||||
0 string \<MML application/x-frame
|
||||
0 string \<Book application/x-frame
|
||||
0 string \<Maker application/x-frame
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# html: file(1) magic for HTML (HyperText Markup Language) docs
|
||||
#
|
||||
# from Daniel Quinlan <quinlan@yggdrasil.com>
|
||||
# and Anna Shergold <anna@inext.co.uk>
|
||||
#
|
||||
0 string \<!DOCTYPE\ HTML text/html
|
||||
0 string \<!doctype\ html text/html
|
||||
0 string \<HEAD text/html
|
||||
0 string \<head text/html
|
||||
0 string \<TITLE text/html
|
||||
0 string \<title text/html
|
||||
0 string \<html text/html
|
||||
0 string \<HTML text/html
|
||||
0 string \<!-- text/html
|
||||
0 string \<h1 text/html
|
||||
0 string \<H1 text/html
|
||||
|
||||
# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>
|
||||
0 string \<?xml text/xml
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# images: file(1) magic for image formats (see also "c-lang" for XPM bitmaps)
|
||||
#
|
||||
# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),
|
||||
# additions by janl@ifi.uio.no as well as others. Jan also suggested
|
||||
# merging several one- and two-line files into here.
|
||||
#
|
||||
# XXX - byte order for GIF and TIFF fields?
|
||||
# [GRR: TIFF allows both byte orders; GIF is probably little-endian]
|
||||
#
|
||||
|
||||
# [GRR: what the hell is this doing in here?]
|
||||
#0 string xbtoa btoa'd file
|
||||
|
||||
# PBMPLUS
|
||||
# PBM file
|
||||
0 string P1 image/x-portable-bitmap 7bit
|
||||
# PGM file
|
||||
0 string P2 image/x-portable-greymap 7bit
|
||||
# PPM file
|
||||
0 string P3 image/x-portable-pixmap 7bit
|
||||
# PBM "rawbits" file
|
||||
0 string P4 image/x-portable-bitmap
|
||||
# PGM "rawbits" file
|
||||
0 string P5 image/x-portable-greymap
|
||||
# PPM "rawbits" file
|
||||
0 string P6 image/x-portable-pixmap
|
||||
|
||||
# NIFF (Navy Interchange File Format, a modification of TIFF)
|
||||
# [GRR: this *must* go before TIFF]
|
||||
0 string IIN1 image/x-niff
|
||||
|
||||
# TIFF and friends
|
||||
# TIFF file, big-endian
|
||||
0 string MM image/tiff
|
||||
# TIFF file, little-endian
|
||||
0 string II image/tiff
|
||||
|
||||
# possible GIF replacements; none yet released!
|
||||
# (Greg Roelofs, newt@uchicago.edu)
|
||||
#
|
||||
# GRR 950115: this was mine ("Zip GIF"):
|
||||
# ZIF image (GIF+deflate alpha)
|
||||
0 string GIF94z image/unknown
|
||||
#
|
||||
# GRR 950115: this is Jeremy Wohl's Free Graphics Format (better):
|
||||
# FGF image (GIF+deflate beta)
|
||||
0 string FGF95a image/unknown
|
||||
#
|
||||
# GRR 950115: this is Thomas Boutell's Portable Bitmap Format proposal
|
||||
# (best; not yet implemented):
|
||||
# PBF image (deflate compression)
|
||||
0 string PBF image/unknown
|
||||
|
||||
# GIF
|
||||
0 string GIF image/gif
|
||||
|
||||
# JPEG images
|
||||
0 beshort 0xffd8 image/jpeg
|
||||
|
||||
# PC bitmaps (OS/2, Windoze BMP files) (Greg Roelofs, newt@uchicago.edu)
|
||||
0 string BM image/bmp
|
||||
#>14 byte 12 (OS/2 1.x format)
|
||||
#>14 byte 64 (OS/2 2.x format)
|
||||
#>14 byte 40 (Windows 3.x format)
|
||||
#0 string IC icon
|
||||
#0 string PI pointer
|
||||
#0 string CI color icon
|
||||
#0 string CP color pointer
|
||||
#0 string BA bitmap array
|
||||
|
||||
0 string \x89PNG image/png
|
||||
0 string FWS application/x-shockwave-flash
|
||||
0 string CWS application/x-shockwave-flash
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# lisp: file(1) magic for lisp programs
|
||||
#
|
||||
# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
|
||||
0 string ;; text/plain 8bit
|
||||
# Emacs 18 - this is always correct, but not very magical.
|
||||
0 string \012( application/x-elc
|
||||
# Emacs 19
|
||||
0 string ;ELC\023\000\000\000 application/x-elc
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# mail.news: file(1) magic for mail and news
|
||||
#
|
||||
# There are tests to ascmagic.c to cope with mail and news.
|
||||
0 string Relay-Version: message/rfc822 7bit
|
||||
0 string #!\ rnews message/rfc822 7bit
|
||||
0 string N#!\ rnews message/rfc822 7bit
|
||||
0 string Forward\ to message/rfc822 7bit
|
||||
0 string Pipe\ to message/rfc822 7bit
|
||||
0 string Return-Path: message/rfc822 7bit
|
||||
0 string Path: message/news 8bit
|
||||
0 string Xref: message/news 8bit
|
||||
0 string From: message/rfc822 7bit
|
||||
0 string Article message/news 8bit
|
||||
#------------------------------------------------------------------------------
|
||||
# msword: file(1) magic for MS Word files
|
||||
#
|
||||
# Contributor claims:
|
||||
# Reversed-engineered MS Word magic numbers
|
||||
#
|
||||
|
||||
0 string \376\067\0\043 application/msword
|
||||
0 string \333\245-\0\0\0 application/msword
|
||||
|
||||
# disable this one because it applies also to other
|
||||
# Office/OLE documents for which msword is not correct. See PR#2608.
|
||||
#0 string \320\317\021\340\241\261 application/msword
|
||||
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# printer: file(1) magic for printer-formatted files
|
||||
#
|
||||
|
||||
# PostScript
|
||||
0 string %! application/postscript
|
||||
0 string \004%! application/postscript
|
||||
|
||||
# Acrobat
|
||||
# (due to clamen@cs.cmu.edu)
|
||||
0 string %PDF- application/pdf
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# sc: file(1) magic for "sc" spreadsheet
|
||||
#
|
||||
38 string Spreadsheet application/x-sc
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# tex: file(1) magic for TeX files
|
||||
#
|
||||
# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)
|
||||
#
|
||||
# From <conklin@talisman.kaleida.com>
|
||||
|
||||
# Although we may know the offset of certain text fields in TeX DVI
|
||||
# and font files, we can't use them reliably because they are not
|
||||
# zero terminated. [but we do anyway, christos]
|
||||
0 string \367\002 application/x-dvi
|
||||
#0 string \367\203 TeX generic font data
|
||||
#0 string \367\131 TeX packed font data
|
||||
#0 string \367\312 TeX virtual font data
|
||||
#0 string This\ is\ TeX, TeX transcript text
|
||||
#0 string This\ is\ METAFONT, METAFONT transcript text
|
||||
|
||||
# There is no way to detect TeX Font Metric (*.tfm) files without
|
||||
# breaking them apart and reading the data. The following patterns
|
||||
# match most *.tfm files generated by METAFONT or afm2tfm.
|
||||
#2 string \000\021 TeX font metric data
|
||||
#2 string \000\022 TeX font metric data
|
||||
#>34 string >\0 (%s)
|
||||
|
||||
# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
|
||||
#0 string \\input\ texinfo Texinfo source text
|
||||
#0 string This\ is\ Info\ file GNU Info text
|
||||
|
||||
# correct TeX magic for Linux (and maybe more)
|
||||
# from Peter Tobias (tobias@server.et-inf.fho-emden.de)
|
||||
#
|
||||
0 leshort 0x02f7 application/x-dvi
|
||||
|
||||
# RTF - Rich Text Format
|
||||
0 string {\\rtf application/rtf
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# animation: file(1) magic for animation/movie formats
|
||||
#
|
||||
# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)
|
||||
# MPEG file
|
||||
0 string \000\000\001\263 video/mpeg
|
||||
#
|
||||
# The contributor claims:
|
||||
# I couldn't find a real magic number for these, however, this
|
||||
# -appears- to work. Note that it might catch other files, too,
|
||||
# so BE CAREFUL!
|
||||
#
|
||||
# Note that title and author appear in the two 20-byte chunks
|
||||
# at decimal offsets 2 and 22, respectively, but they are XOR'ed with
|
||||
# 255 (hex FF)! DL format SUCKS BIG ROCKS.
|
||||
#
|
||||
# DL file version 1 , medium format (160x100, 4 images/screen)
|
||||
0 byte 1 video/unknown
|
||||
0 byte 2 video/unknown
|
||||
# Quicktime video, from Linus Walleij <triad@df.lth.se>
|
||||
# from Apple quicktime file format documentation.
|
||||
4 string moov video/quicktime
|
||||
4 string mdat video/quicktime
|
||||
|
||||
@@ -1,156 +0,0 @@
|
||||
# This is a modification of the default Apache 2.4 configuration file
|
||||
# for Gentoo Linux.
|
||||
#
|
||||
# Support:
|
||||
# http://www.gentoo.org/main/en/lists.xml [mailing lists]
|
||||
# http://forums.gentoo.org/ [web forums]
|
||||
# irc://irc.freenode.net#gentoo-apache [irc chat]
|
||||
#
|
||||
# Bug Reports:
|
||||
# http://bugs.gentoo.org [gentoo related bugs]
|
||||
# http://httpd.apache.org/bug_report.html [apache httpd related bugs]
|
||||
#
|
||||
#
|
||||
# This is the main Apache HTTP server configuration file. It contains the
|
||||
# configuration directives that give the server its instructions.
|
||||
# See <URL:http://httpd.apache.org/docs/2.4> for detailed information.
|
||||
# In particular, see
|
||||
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
|
||||
# for a discussion of each configuration directive.
|
||||
#
|
||||
# Do NOT simply read the instructions in here without understanding
|
||||
# what they do. They're here only as hints or reminders. If you are unsure
|
||||
# consult the online docs. You have been warned.
|
||||
#
|
||||
# Configuration and logfile names: If the filenames you specify for many
|
||||
# of the server's control files begin with "/" (or "drive:/" for Win32), the
|
||||
# server will use that explicit path. If the filenames do *not* begin
|
||||
# with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
|
||||
# with ServerRoot set to "/usr" will be interpreted by the
|
||||
# server as "/usr/var/log/apache2/foo.log".
|
||||
|
||||
# ServerRoot: The top of the directory tree under which the server's
|
||||
# configuration, error, and log files are kept.
|
||||
#
|
||||
# Do not add a slash at the end of the directory path. If you point
|
||||
# ServerRoot at a non-local disk, be sure to point the LockFile directive
|
||||
# at a local disk. If you wish to share the same ServerRoot for multiple
|
||||
# httpd daemons, you will need to change at least LockFile and PidFile.
|
||||
# Comment: The LockFile directive has been replaced by the Mutex directive
|
||||
ServerRoot "/usr/lib64/apache2"
|
||||
|
||||
# Dynamic Shared Object (DSO) Support
|
||||
#
|
||||
# To be able to use the functionality of a module which was built as a DSO you
|
||||
# have to place corresponding `LoadModule' lines at this location so the
|
||||
# directives contained in it are actually available _before_ they are used.
|
||||
# Statically compiled modules (those listed by `httpd -l') do not need
|
||||
# to be loaded here.
|
||||
#
|
||||
# Example:
|
||||
# LoadModule foo_module modules/mod_foo.so
|
||||
#
|
||||
# GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
|
||||
# Do not change manually, it will be overwritten on upgrade.
|
||||
#
|
||||
# The following modules are considered as the default configuration.
|
||||
# If you wish to disable one of them, you may have to alter other
|
||||
# configuration directives.
|
||||
#
|
||||
# Change these at your own risk!
|
||||
|
||||
LoadModule actions_module modules/mod_actions.so
|
||||
LoadModule alias_module modules/mod_alias.so
|
||||
LoadModule auth_basic_module modules/mod_auth_basic.so
|
||||
LoadModule authn_anon_module modules/mod_authn_anon.so
|
||||
LoadModule authn_core_module modules/mod_authn_core.so
|
||||
LoadModule authn_dbm_module modules/mod_authn_dbm.so
|
||||
LoadModule authn_file_module modules/mod_authn_file.so
|
||||
LoadModule authz_core_module modules/mod_authz_core.so
|
||||
LoadModule authz_dbm_module modules/mod_authz_dbm.so
|
||||
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
|
||||
LoadModule authz_host_module modules/mod_authz_host.so
|
||||
LoadModule authz_owner_module modules/mod_authz_owner.so
|
||||
LoadModule authz_user_module modules/mod_authz_user.so
|
||||
LoadModule autoindex_module modules/mod_autoindex.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule cache_module modules/mod_cache.so
|
||||
</IfDefine>
|
||||
LoadModule cgi_module modules/mod_cgi.so
|
||||
LoadModule cgid_module modules/mod_cgid.so
|
||||
<IfDefine DAV>
|
||||
LoadModule dav_module modules/mod_dav.so
|
||||
</IfDefine>
|
||||
<IfDefine DAV>
|
||||
LoadModule dav_fs_module modules/mod_dav_fs.so
|
||||
</IfDefine>
|
||||
<IfDefine DAV>
|
||||
LoadModule dav_lock_module modules/mod_dav_lock.so
|
||||
</IfDefine>
|
||||
LoadModule deflate_module modules/mod_deflate.so
|
||||
LoadModule dir_module modules/mod_dir.so
|
||||
LoadModule env_module modules/mod_env.so
|
||||
LoadModule expires_module modules/mod_expires.so
|
||||
LoadModule ext_filter_module modules/mod_ext_filter.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule file_cache_module modules/mod_file_cache.so
|
||||
</IfDefine>
|
||||
LoadModule filter_module modules/mod_filter.so
|
||||
LoadModule headers_module modules/mod_headers.so
|
||||
LoadModule include_module modules/mod_include.so
|
||||
<IfDefine INFO>
|
||||
LoadModule info_module modules/mod_info.so
|
||||
</IfDefine>
|
||||
LoadModule log_config_module modules/mod_log_config.so
|
||||
LoadModule logio_module modules/mod_logio.so
|
||||
LoadModule mime_module modules/mod_mime.so
|
||||
LoadModule mime_magic_module modules/mod_mime_magic.so
|
||||
LoadModule negotiation_module modules/mod_negotiation.so
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule setenvif_module modules/mod_setenvif.so
|
||||
<IfDefine SSL>
|
||||
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
|
||||
</IfDefine>
|
||||
LoadModule speling_module modules/mod_speling.so
|
||||
<IfDefine SSL>
|
||||
LoadModule ssl_module modules/mod_ssl.so
|
||||
</IfDefine>
|
||||
<IfDefine STATUS>
|
||||
LoadModule status_module modules/mod_status.so
|
||||
</IfDefine>
|
||||
LoadModule unique_id_module modules/mod_unique_id.so
|
||||
LoadModule unixd_module modules/mod_unixd.so
|
||||
<IfDefine USERDIR>
|
||||
LoadModule userdir_module modules/mod_userdir.so
|
||||
</IfDefine>
|
||||
LoadModule usertrack_module modules/mod_usertrack.so
|
||||
LoadModule vhost_alias_module modules/mod_vhost_alias.so
|
||||
|
||||
# If you wish httpd to run as a different user or group, you must run
|
||||
# httpd as root initially and it will switch.
|
||||
#
|
||||
# User/Group: The name (or #number) of the user/group to run httpd as.
|
||||
# It is usually good practice to create a dedicated user and group for
|
||||
# running httpd, as with most system services.
|
||||
User apache
|
||||
Group apache
|
||||
|
||||
# Supplemental configuration
|
||||
#
|
||||
# Most of the configuration files in the /etc/apache2/modules.d/ directory can
|
||||
# be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
|
||||
# or to modify the default configuration of the server.
|
||||
#
|
||||
# To know which flag to add to APACHE2_OPTS, look at the first line of the
|
||||
# the file, which will usually be an <IfDefine OPTION> where OPTION is the
|
||||
# flag to use.
|
||||
Include /etc/apache2/modules.d/*.conf
|
||||
|
||||
# Virtual-host support
|
||||
#
|
||||
# Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
|
||||
# include a default vhost (enabled by adding -D DEFAULT_VHOST to
|
||||
# APACHE2_OPTS in /etc/conf.d/apache2).
|
||||
Include /etc/apache2/vhosts.d/*.conf
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,4 +1,4 @@
|
||||
# This is a modification of the default Apache 2.2 configuration file
|
||||
# This is a modification of the default Apache 2.4 configuration file
|
||||
# for Gentoo Linux.
|
||||
#
|
||||
# Support:
|
||||
@@ -13,9 +13,9 @@
|
||||
#
|
||||
# This is the main Apache HTTP server configuration file. It contains the
|
||||
# configuration directives that give the server its instructions.
|
||||
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
|
||||
# See <URL:http://httpd.apache.org/docs/2.4> for detailed information.
|
||||
# In particular, see
|
||||
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
|
||||
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
|
||||
# for a discussion of each configuration directive.
|
||||
#
|
||||
# Do NOT simply read the instructions in here without understanding
|
||||
@@ -36,6 +36,7 @@
|
||||
# ServerRoot at a non-local disk, be sure to point the LockFile directive
|
||||
# at a local disk. If you wish to share the same ServerRoot for multiple
|
||||
# httpd daemons, you will need to change at least LockFile and PidFile.
|
||||
# Comment: The LockFile directive has been replaced by the Mutex directive
|
||||
ServerRoot "/usr/lib64/apache2"
|
||||
|
||||
# Dynamic Shared Object (DSO) Support
|
||||
@@ -61,13 +62,12 @@ ServerRoot "/usr/lib64/apache2"
|
||||
LoadModule actions_module modules/mod_actions.so
|
||||
LoadModule alias_module modules/mod_alias.so
|
||||
LoadModule auth_basic_module modules/mod_auth_basic.so
|
||||
LoadModule authn_alias_module modules/mod_authn_alias.so
|
||||
LoadModule authn_anon_module modules/mod_authn_anon.so
|
||||
LoadModule authn_core_module modules/mod_authn_core.so
|
||||
LoadModule authn_dbm_module modules/mod_authn_dbm.so
|
||||
LoadModule authn_default_module modules/mod_authn_default.so
|
||||
LoadModule authn_file_module modules/mod_authn_file.so
|
||||
LoadModule authz_core_module modules/mod_authz_core.so
|
||||
LoadModule authz_dbm_module modules/mod_authz_dbm.so
|
||||
LoadModule authz_default_module modules/mod_authz_default.so
|
||||
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
|
||||
LoadModule authz_host_module modules/mod_authz_host.so
|
||||
LoadModule authz_owner_module modules/mod_authz_owner.so
|
||||
@@ -89,9 +89,6 @@ LoadModule dav_lock_module modules/mod_dav_lock.so
|
||||
</IfDefine>
|
||||
LoadModule deflate_module modules/mod_deflate.so
|
||||
LoadModule dir_module modules/mod_dir.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule disk_cache_module modules/mod_disk_cache.so
|
||||
</IfDefine>
|
||||
LoadModule env_module modules/mod_env.so
|
||||
LoadModule expires_module modules/mod_expires.so
|
||||
LoadModule ext_filter_module modules/mod_ext_filter.so
|
||||
@@ -106,14 +103,14 @@ LoadModule info_module modules/mod_info.so
|
||||
</IfDefine>
|
||||
LoadModule log_config_module modules/mod_log_config.so
|
||||
LoadModule logio_module modules/mod_logio.so
|
||||
<IfDefine CACHE>
|
||||
LoadModule mem_cache_module modules/mod_mem_cache.so
|
||||
</IfDefine>
|
||||
LoadModule mime_module modules/mod_mime.so
|
||||
LoadModule mime_magic_module modules/mod_mime_magic.so
|
||||
LoadModule negotiation_module modules/mod_negotiation.so
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule setenvif_module modules/mod_setenvif.so
|
||||
<IfDefine SSL>
|
||||
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
|
||||
</IfDefine>
|
||||
LoadModule speling_module modules/mod_speling.so
|
||||
<IfDefine SSL>
|
||||
LoadModule ssl_module modules/mod_ssl.so
|
||||
@@ -122,6 +119,7 @@ LoadModule ssl_module modules/mod_ssl.so
|
||||
LoadModule status_module modules/mod_status.so
|
||||
</IfDefine>
|
||||
LoadModule unique_id_module modules/mod_unique_id.so
|
||||
LoadModule unixd_module modules/mod_unixd.so
|
||||
<IfDefine USERDIR>
|
||||
LoadModule userdir_module modules/mod_userdir.so
|
||||
</IfDefine>
|
||||
@@ -137,7 +135,6 @@ LoadModule vhost_alias_module modules/mod_vhost_alias.so
|
||||
User apache
|
||||
Group apache
|
||||
|
||||
ServerName localhost
|
||||
# Supplemental configuration
|
||||
#
|
||||
# Most of the configuration files in the /etc/apache2/modules.d/ directory can
|
||||
@@ -149,9 +146,6 @@ ServerName localhost
|
||||
# flag to use.
|
||||
Include /etc/apache2/modules.d/*.conf
|
||||
|
||||
Include /etc/apache2/custom/*.conf
|
||||
|
||||
|
||||
# Virtual-host support
|
||||
#
|
||||
# Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
|
||||
@@ -159,5 +153,4 @@ Include /etc/apache2/custom/*.conf
|
||||
# APACHE2_OPTS in /etc/conf.d/apache2).
|
||||
Include /etc/apache2/vhosts.d/*.conf
|
||||
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
|
||||
@@ -262,6 +262,9 @@
|
||||
#0 string CP color pointer
|
||||
#0 string BA bitmap array
|
||||
|
||||
0 string \x89PNG image/png
|
||||
0 string FWS application/x-shockwave-flash
|
||||
0 string CWS application/x-shockwave-flash
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# lisp: file(1) magic for lisp programs
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
# This configuration file reflects default settings for Apache HTTP Server.
|
||||
# You may change these, but chances are that you may not need to.
|
||||
|
||||
# Timeout: The number of seconds before receives and sends time out.
|
||||
Timeout 300
|
||||
|
||||
# KeepAlive: Whether or not to allow persistent connections (more than
|
||||
# one request per connection). Set to "Off" to deactivate.
|
||||
KeepAlive On
|
||||
|
||||
# MaxKeepAliveRequests: The maximum number of requests to allow
|
||||
# during a persistent connection. Set to 0 to allow an unlimited amount.
|
||||
# We recommend you leave this number high, for maximum performance.
|
||||
MaxKeepAliveRequests 100
|
||||
|
||||
# KeepAliveTimeout: Number of seconds to wait for the next request from the
|
||||
# same client on the same connection.
|
||||
KeepAliveTimeout 15
|
||||
|
||||
# UseCanonicalName: Determines how Apache constructs self-referencing
|
||||
# URLs and the SERVER_NAME and SERVER_PORT variables.
|
||||
# When set "Off", Apache will use the Hostname and Port supplied
|
||||
# by the client. When set "On", Apache will use the value of the
|
||||
# ServerName directive.
|
||||
UseCanonicalName Off
|
||||
|
||||
# AccessFileName: The name of the file to look for in each directory
|
||||
# for additional configuration directives. See also the AllowOverride
|
||||
# directive.
|
||||
AccessFileName .htaccess
|
||||
|
||||
# ServerTokens
|
||||
# This directive configures what you return as the Server HTTP response
|
||||
# Header. The default is 'Full' which sends information about the OS-Type
|
||||
# and compiled in modules.
|
||||
# Set to one of: Full | OS | Minor | Minimal | Major | Prod
|
||||
# where Full conveys the most information, and Prod the least.
|
||||
ServerTokens Prod
|
||||
|
||||
# TraceEnable
|
||||
# This directive overrides the behavior of TRACE for both the core server and
|
||||
# mod_proxy. The default TraceEnable on permits TRACE requests per RFC 2616,
|
||||
# which disallows any request body to accompany the request. TraceEnable off
|
||||
# causes the core server and mod_proxy to return a 405 (Method not allowed)
|
||||
# error to the client.
|
||||
# For security reasons this is turned off by default. (bug #240680)
|
||||
TraceEnable off
|
||||
|
||||
# Optionally add a line containing the server version and virtual host
|
||||
# name to server-generated pages (internal error documents, FTP directory
|
||||
# listings, mod_status and mod_info output etc., but not CGI generated
|
||||
# documents or custom error documents).
|
||||
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
|
||||
# Set to one of: On | Off | EMail
|
||||
ServerSignature On
|
||||
|
||||
# HostnameLookups: Log the names of clients or just their IP addresses
|
||||
# e.g., www.apache.org (on) or 204.62.129.132 (off).
|
||||
# The default is off because it'd be overall better for the net if people
|
||||
# had to knowingly turn this feature on, since enabling it means that
|
||||
# each client request will result in AT LEAST one lookup request to the
|
||||
# nameserver.
|
||||
HostnameLookups Off
|
||||
|
||||
# EnableMMAP and EnableSendfile: On systems that support it,
|
||||
# memory-mapping or the sendfile syscall is used to deliver
|
||||
# files. This usually improves server performance, but must
|
||||
# be turned off when serving from networked-mounted
|
||||
# filesystems or if support for these functions is otherwise
|
||||
# broken on your system.
|
||||
EnableMMAP On
|
||||
EnableSendfile Off
|
||||
|
||||
# FileETag: Configures the file attributes that are used to create
|
||||
# the ETag (entity tag) response header field when the document is
|
||||
# based on a static file. (The ETag value is used in cache management
|
||||
# to save network bandwidth.)
|
||||
FileETag MTime Size
|
||||
|
||||
# ContentDigest: This directive enables the generation of Content-MD5
|
||||
# headers as defined in RFC1864 respectively RFC2616.
|
||||
# The Content-MD5 header provides an end-to-end message integrity
|
||||
# check (MIC) of the entity-body. A proxy or client may check this
|
||||
# header for detecting accidental modification of the entity-body
|
||||
# in transit.
|
||||
# Note that this can cause performance problems on your server since
|
||||
# the message digest is computed on every request (the values are
|
||||
# not cached).
|
||||
# Content-MD5 is only sent for documents served by the core, and not
|
||||
# by any module. For example, SSI documents, output from CGI scripts,
|
||||
# and byte range responses do not have this header.
|
||||
ContentDigest Off
|
||||
|
||||
# ErrorLog: The location of the error log file.
|
||||
# If you do not specify an ErrorLog directive within a <VirtualHost>
|
||||
# container, error messages relating to that virtual host will be
|
||||
# logged here. If you *do* define an error logfile for a <VirtualHost>
|
||||
# container, that host's errors will be logged there and not here.
|
||||
ErrorLog /var/log/apache2/error_log
|
||||
|
||||
# LogLevel: Control the number of messages logged to the error_log.
|
||||
# Possible values include: debug, info, notice, warn, error, crit,
|
||||
# alert, emerg.
|
||||
LogLevel warn
|
||||
|
||||
# We configure the "default" to be a very restrictive set of features.
|
||||
<Directory />
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all denied
|
||||
</Directory>
|
||||
|
||||
# DirectoryIndex: sets the file that Apache will serve if a directory
|
||||
# is requested.
|
||||
#
|
||||
# The index.html.var file (a type-map) is used to deliver content-
|
||||
# negotiated documents. The MultiViews Options can be used for the
|
||||
# same purpose, but it is much slower.
|
||||
#
|
||||
# Do not change this entry unless you know what you are doing.
|
||||
<IfModule dir_module>
|
||||
DirectoryIndex index.html index.html.var
|
||||
</IfModule>
|
||||
|
||||
# The following lines prevent .htaccess and .htpasswd files from being
|
||||
# viewed by Web clients.
|
||||
<FilesMatch "^\.ht">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,57 +0,0 @@
|
||||
# The configuration below implements multi-language error documents through
|
||||
# content-negotiation.
|
||||
|
||||
# Customizable error responses come in three flavors:
|
||||
# 1) plain text 2) local redirects 3) external redirects
|
||||
# Some examples:
|
||||
#ErrorDocument 500 "The server made a boo boo."
|
||||
#ErrorDocument 404 /missing.html
|
||||
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
|
||||
#ErrorDocument 402 http://www.example.com/subscription_info.html
|
||||
|
||||
# Required modules: mod_alias, mod_include, mod_negotiation
|
||||
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
|
||||
# our collection of by-error message multi-language collections. We use
|
||||
# includes to substitute the appropriate text.
|
||||
# You can modify the messages' appearance without changing any of the
|
||||
# default HTTP_<error>.html.var files by adding the line:
|
||||
# Alias /error/include/ "/your/include/path/"
|
||||
# which allows you to create your own set of files by starting with the
|
||||
# /var/www/localhost/error/include/ files and copying them to /your/include/path/,
|
||||
# even on a per-VirtualHost basis. The default include files will display
|
||||
# your Apache version number and your ServerAdmin email address regardless
|
||||
# of the setting of ServerSignature.
|
||||
|
||||
<IfDefine ERRORDOCS>
|
||||
Alias /error/ "/usr/share/apache2/error/"
|
||||
|
||||
<Directory "/usr/share/apache2/error">
|
||||
AllowOverride None
|
||||
Options IncludesNoExec
|
||||
AddOutputFilter Includes html
|
||||
AddHandler type-map var
|
||||
Require all granted
|
||||
LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
|
||||
ForceLanguagePriority Prefer Fallback
|
||||
</Directory>
|
||||
|
||||
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
|
||||
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
|
||||
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
|
||||
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
|
||||
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
|
||||
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
|
||||
ErrorDocument 410 /error/HTTP_GONE.html.var
|
||||
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
|
||||
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
|
||||
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
|
||||
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
|
||||
ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
|
||||
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
|
||||
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
|
||||
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
|
||||
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
|
||||
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,86 +0,0 @@
|
||||
<IfModule autoindex_module>
|
||||
<IfDefine !NO_AUTOINDEX_CONF>
|
||||
|
||||
<IfModule alias_module>
|
||||
# We include the /icons/ alias for FancyIndexed directory listings. If
|
||||
# you do not use FancyIndexing, you may comment this out.
|
||||
Alias /icons/ "/usr/share/apache2/icons/"
|
||||
|
||||
<Directory "/usr/share/apache2/icons">
|
||||
Options Indexes MultiViews
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
</IfModule>
|
||||
|
||||
# Directives controlling the display of server-generated directory listings.
|
||||
#
|
||||
# To see the listing of a directory, the Options directive for the
|
||||
# directory must include "Indexes", and the directory must not contain
|
||||
# a file matching those listed in the DirectoryIndex directive.
|
||||
|
||||
# IndexOptions: Controls the appearance of server-generated directory
|
||||
# listings.
|
||||
IndexOptions FancyIndexing VersionSort
|
||||
|
||||
# AddIcon* directives tell the server which icon to show for different
|
||||
# files or filename extensions. These are only displayed for
|
||||
# FancyIndexed directories.
|
||||
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
|
||||
|
||||
AddIconByType (TXT,/icons/text.gif) text/*
|
||||
AddIconByType (IMG,/icons/image2.gif) image/*
|
||||
AddIconByType (SND,/icons/sound2.gif) audio/*
|
||||
AddIconByType (VID,/icons/movie.gif) video/*
|
||||
|
||||
AddIcon /icons/binary.gif .bin .exe
|
||||
AddIcon /icons/binhex.gif .hqx
|
||||
AddIcon /icons/tar.gif .tar
|
||||
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
|
||||
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
|
||||
AddIcon /icons/a.gif .ps .ai .eps
|
||||
AddIcon /icons/layout.gif .html .shtml .htm .pdf
|
||||
AddIcon /icons/text.gif .txt
|
||||
AddIcon /icons/c.gif .c
|
||||
AddIcon /icons/p.gif .pl .py
|
||||
AddIcon /icons/f.gif .for
|
||||
AddIcon /icons/dvi.gif .dvi
|
||||
AddIcon /icons/uuencoded.gif .uu
|
||||
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
|
||||
AddIcon /icons/tex.gif .tex
|
||||
AddIcon /icons/bomb.gif core
|
||||
|
||||
AddIcon /icons/back.gif ..
|
||||
AddIcon /icons/hand.right.gif README
|
||||
AddIcon /icons/folder.gif ^^DIRECTORY^^
|
||||
AddIcon /icons/blank.gif ^^BLANKICON^^
|
||||
|
||||
# DefaultIcon is which icon to show for files which do not have an icon
|
||||
# explicitly set.
|
||||
DefaultIcon /icons/unknown.gif
|
||||
|
||||
# AddDescription allows you to place a short description after a file in
|
||||
# server-generated indexes. These are only displayed for FancyIndexed
|
||||
# directories.
|
||||
# Format: AddDescription "description" filename
|
||||
|
||||
#AddDescription "GZIP compressed document" .gz
|
||||
#AddDescription "tar archive" .tar
|
||||
#AddDescription "GZIP compressed tar archive" .tgz
|
||||
|
||||
# ReadmeName is the name of the README file the server will look for by
|
||||
# default, and append to directory listings.
|
||||
|
||||
# HeaderName is the name of a file which should be prepended to
|
||||
# directory indexes.
|
||||
ReadmeName README.html
|
||||
HeaderName HEADER.html
|
||||
|
||||
# IndexIgnore is a set of filenames which directory indexing should ignore
|
||||
# and not include in the listing. Shell-style wildcarding is permitted.
|
||||
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
||||
</IfDefine>
|
||||
</IfModule>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,10 +0,0 @@
|
||||
<IfDefine INFO>
|
||||
# Allow remote server configuration reports, with the URL of
|
||||
# http://servername/server-info
|
||||
<Location /server-info>
|
||||
SetHandler server-info
|
||||
Require local
|
||||
</Location>
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,46 +0,0 @@
|
||||
<IfModule mime_module>
|
||||
# TypesConfig points to the file containing the list of mappings from
|
||||
# filename extension to MIME-type.
|
||||
TypesConfig /etc/mime.types
|
||||
|
||||
# AddType allows you to add to or override the MIME configuration
|
||||
# file specified in TypesConfig for specific file types.
|
||||
#AddType application/x-gzip .tgz
|
||||
|
||||
# AddEncoding allows you to have certain browsers uncompress
|
||||
# information on the fly. Note: Not all browsers support this.
|
||||
#AddEncoding x-compress .Z
|
||||
#AddEncoding x-gzip .gz .tgz
|
||||
|
||||
# If the AddEncoding directives above are commented-out, then you
|
||||
# probably should define those extensions to indicate media types:
|
||||
AddType application/x-compress .Z
|
||||
AddType application/x-gzip .gz .tgz
|
||||
|
||||
# AddHandler allows you to map certain file extensions to "handlers":
|
||||
# actions unrelated to filetype. These can be either built into the server
|
||||
# or added with the Action directive (see below)
|
||||
|
||||
# To use CGI scripts outside of ScriptAliased directories:
|
||||
# (You will also need to add "ExecCGI" to the "Options" directive.)
|
||||
#AddHandler cgi-script .cgi
|
||||
|
||||
# For type maps (negotiated resources):
|
||||
#AddHandler type-map var
|
||||
|
||||
# Filters allow you to process content before it is sent to the client.
|
||||
#
|
||||
# To parse .shtml files for server-side includes (SSI):
|
||||
# (You will also need to add "Includes" to the "Options" directive.)
|
||||
#AddType text/html .shtml
|
||||
#AddOutputFilter INCLUDES .shtml
|
||||
</IfModule>
|
||||
|
||||
<IfModule mime_magic_module>
|
||||
# The mod_mime_magic module allows the server to use various hints from the
|
||||
# contents of the file itself to determine its type. The MIMEMagicFile
|
||||
# directive tells the module where the hint definitions are located.
|
||||
MIMEMagicFile /etc/apache2/magic
|
||||
</IfModule>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,15 +0,0 @@
|
||||
<IfDefine STATUS>
|
||||
# Allow server status reports generated by mod_status,
|
||||
# with the URL of http://servername/server-status
|
||||
<Location /server-status>
|
||||
SetHandler server-status
|
||||
Require local
|
||||
</Location>
|
||||
|
||||
# ExtendedStatus controls whether Apache will generate "full" status
|
||||
# information (ExtendedStatus On) or just basic information (ExtendedStatus
|
||||
# Off) when the "server-status" handler is called.
|
||||
ExtendedStatus On
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,32 +0,0 @@
|
||||
# Settings for user home directories
|
||||
<IfDefine USERDIR>
|
||||
# UserDir: The name of the directory that is appended onto a user's home
|
||||
# directory if a ~user request is received. Note that you must also set
|
||||
# the default access control for these directories, as in the example below.
|
||||
UserDir public_html
|
||||
|
||||
# Control access to UserDir directories. The following is an example
|
||||
# for a site where these directories are restricted to read-only.
|
||||
<Directory /home/*/public_html>
|
||||
AllowOverride FileInfo AuthConfig Limit Indexes
|
||||
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
||||
<Limit GET POST OPTIONS>
|
||||
Require all granted
|
||||
</Limit>
|
||||
<LimitExcept GET POST OPTIONS>
|
||||
Require all denied
|
||||
</LimitExcept>
|
||||
</Directory>
|
||||
|
||||
# Suexec isn't really required to run cgi-scripts, but it's a really good
|
||||
# idea if you have multiple users serving websites...
|
||||
<IfDefine SUEXEC>
|
||||
<Directory /home/*/public_html/cgi-bin>
|
||||
Options ExecCGI
|
||||
SetHandler cgi-script
|
||||
</Directory>
|
||||
</IfDefine>
|
||||
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,99 +0,0 @@
|
||||
# Server-Pool Management (MPM specific)
|
||||
|
||||
# PidFile: The file in which the server should record its process
|
||||
# identification number when it starts.
|
||||
#
|
||||
# DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
|
||||
PidFile /run/apache2.pid
|
||||
|
||||
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
|
||||
# Mutex file:/run/apache_mpm_mutex
|
||||
|
||||
# Only one of the below sections will be relevant on your
|
||||
# installed httpd. Use "/usr/sbin/apache2 -l" to find out the
|
||||
# active mpm.
|
||||
|
||||
# common MPM configuration
|
||||
# These configuration directives apply to all MPMs
|
||||
#
|
||||
# StartServers: Number of child server processes created at startup
|
||||
# MaxRequestWorkers: Maximum number of child processes to serve requests
|
||||
# MaxConnectionsPerChild: Limit on the number of connections that an individual
|
||||
# child server will handle during its life
|
||||
|
||||
|
||||
# prefork MPM
|
||||
# This is the default MPM if USE=-threads
|
||||
#
|
||||
# MinSpareServers: Minimum number of idle child server processes
|
||||
# MaxSpareServers: Maximum number of idle child server processes
|
||||
<IfModule mpm_prefork_module>
|
||||
StartServers 5
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 10
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# worker MPM
|
||||
# This is the default MPM if USE=threads
|
||||
#
|
||||
# MinSpareThreads: Minimum number of idle threads available to handle request spikes
|
||||
# MaxSpareThreads: Maximum number of idle threads
|
||||
# ThreadsPerChild: Number of threads created by each child process
|
||||
<IfModule mpm_worker_module>
|
||||
StartServers 2
|
||||
MinSpareThreads 25
|
||||
MaxSpareThreads 75
|
||||
ThreadsPerChild 25
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# event MPM
|
||||
#
|
||||
# MinSpareThreads: Minimum number of idle threads available to handle request spikes
|
||||
# MaxSpareThreads: Maximum number of idle threads
|
||||
# ThreadsPerChild: Number of threads created by each child process
|
||||
<IfModule mpm_event_module>
|
||||
StartServers 2
|
||||
MinSpareThreads 25
|
||||
MaxSpareThreads 75
|
||||
ThreadsPerChild 25
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# peruser MPM
|
||||
#
|
||||
# MinSpareProcessors: Minimum number of idle child server processes
|
||||
# MinProcessors: Minimum number of processors per virtual host
|
||||
# MaxProcessors: Maximum number of processors per virtual host
|
||||
# ExpireTimeout: Maximum idle time before a child is killed, 0 to disable
|
||||
# Multiplexer: Specify a Multiplexer child configuration.
|
||||
# Processor: Specify a user and group for a specific child process
|
||||
<IfModule mpm_peruser_module>
|
||||
MinSpareProcessors 2
|
||||
MinProcessors 2
|
||||
MaxProcessors 10
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 1000
|
||||
ExpireTimeout 1800
|
||||
|
||||
Multiplexer nobody nobody
|
||||
Processor apache apache
|
||||
</IfModule>
|
||||
|
||||
# itk MPM
|
||||
#
|
||||
# MinSpareServers: Minimum number of idle child server processes
|
||||
# MaxSpareServers: Maximum number of idle child server processes
|
||||
<IfModule mpm_itk_module>
|
||||
StartServers 5
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 10
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,67 +0,0 @@
|
||||
# Note: The following must must be present to support
|
||||
# starting without SSL on platforms with no /dev/random equivalent
|
||||
# but a statically compiled-in mod_ssl.
|
||||
<IfModule ssl_module>
|
||||
SSLRandomSeed startup builtin
|
||||
SSLRandomSeed connect builtin
|
||||
</IfModule>
|
||||
|
||||
<IfDefine SSL>
|
||||
# This is the Apache server configuration file providing SSL support.
|
||||
# It contains the configuration directives to instruct the server how to
|
||||
# serve pages over an https connection. For detailing information about these
|
||||
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
|
||||
|
||||
# Do NOT simply read the instructions in here without understanding
|
||||
# what they do. They're here only as hints or reminders. If you are unsure
|
||||
# consult the online docs. You have been warned.
|
||||
|
||||
## Pseudo Random Number Generator (PRNG):
|
||||
# Configure one or more sources to seed the PRNG of the SSL library.
|
||||
# The seed data should be of good random quality.
|
||||
# WARNING! On some platforms /dev/random blocks if not enough entropy
|
||||
# is available. This means you then cannot use the /dev/random device
|
||||
# because it would lead to very long connection times (as long as
|
||||
# it requires to make more entropy available). But usually those
|
||||
# platforms additionally provide a /dev/urandom device which doesn't
|
||||
# block. So, if available, use this one instead. Read the mod_ssl User
|
||||
# Manual for more details.
|
||||
#SSLRandomSeed startup file:/dev/random 512
|
||||
#SSLRandomSeed startup file:/dev/urandom 512
|
||||
#SSLRandomSeed connect file:/dev/random 512
|
||||
#SSLRandomSeed connect file:/dev/urandom 512
|
||||
|
||||
## SSL Global Context:
|
||||
# All SSL configuration in this context applies both to the main server and
|
||||
# all SSL-enabled virtual hosts.
|
||||
|
||||
# Some MIME-types for downloading Certificates and CRLs
|
||||
<IfModule mime_module>
|
||||
AddType application/x-x509-ca-cert .crt
|
||||
AddType application/x-pkcs7-crl .crl
|
||||
</IfModule>
|
||||
|
||||
## Pass Phrase Dialog:
|
||||
# Configure the pass phrase gathering process. The filtering dialog program
|
||||
# (`builtin' is a internal terminal dialog) has to provide the pass phrase on
|
||||
# stdout.
|
||||
SSLPassPhraseDialog builtin
|
||||
|
||||
## Inter-Process Session Cache:
|
||||
# Configure the SSL Session Cache: First the mechanism to use and second the
|
||||
# expiring timeout (in seconds).
|
||||
#SSLSessionCache dbm:/var/run/ssl_scache
|
||||
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
|
||||
SSLSessionCacheTimeout 300
|
||||
|
||||
## Semaphore:
|
||||
# Configure the path to the mutual exclusion semaphore the SSL engine uses
|
||||
# internally for inter-process synchronization.
|
||||
SSLMutex file:/var/run/ssl_mutex
|
||||
|
||||
## SSL Compression:
|
||||
# Known to be vulnerable thus disabled by default (bug #507324).
|
||||
SSLCompression off
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,18 +0,0 @@
|
||||
# Examples below are taken from the online documentation
|
||||
# Refer to:
|
||||
# http://localhost/manual/mod/mod_ldap.html
|
||||
# http://localhost/manual/mod/mod_auth_ldap.html
|
||||
<IfDefine LDAP>
|
||||
LDAPSharedCacheSize 200000
|
||||
LDAPCacheEntries 1024
|
||||
LDAPCacheTTL 600
|
||||
LDAPOpCacheEntries 1024
|
||||
LDAPOpCacheTTL 600
|
||||
|
||||
<Location /ldap-status>
|
||||
SetHandler ldap-status
|
||||
Require local
|
||||
</Location>
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,18 +0,0 @@
|
||||
<IfDefine PHP5>
|
||||
# Load the module first
|
||||
<IfModule !mod_php5.c>
|
||||
LoadModule php5_module modules/libphp5.so
|
||||
</IfModule>
|
||||
|
||||
# Set it to handle the files
|
||||
# NOTE: Avoiding AddHandler/AddType for security (bug #538822)
|
||||
# NOTE: Please read the related news item!
|
||||
<FilesMatch "\.(php|php5|phtml)$">
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.phps$">
|
||||
SetHandler application/x-httpd-php-source
|
||||
</FilesMatch>
|
||||
|
||||
DirectoryIndex index.php index.phtml
|
||||
</IfDefine>
|
||||
@@ -1,85 +0,0 @@
|
||||
<IfModule autoindex_module>
|
||||
<IfDefine !NO_AUTOINDEX_CONF>
|
||||
|
||||
<IfModule alias_module>
|
||||
# We include the /icons/ alias for FancyIndexed directory listings. If
|
||||
# you do not use FancyIndexing, you may comment this out.
|
||||
Alias /icons/ "/usr/share/apache2/icons/"
|
||||
|
||||
<Directory "/usr/share/apache2/icons">
|
||||
Options Indexes MultiViews
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
</IfModule>
|
||||
|
||||
# Directives controlling the display of server-generated directory listings.
|
||||
#
|
||||
# To see the listing of a directory, the Options directive for the
|
||||
# directory must include "Indexes", and the directory must not contain
|
||||
# a file matching those listed in the DirectoryIndex directive.
|
||||
|
||||
# IndexOptions: Controls the appearance of server-generated directory
|
||||
# listings.
|
||||
IndexOptions FancyIndexing VersionSort
|
||||
|
||||
# AddIcon* directives tell the server which icon to show for different
|
||||
# files or filename extensions. These are only displayed for
|
||||
# FancyIndexed directories.
|
||||
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
|
||||
|
||||
AddIconByType (TXT,/icons/text.gif) text/*
|
||||
AddIconByType (IMG,/icons/image2.gif) image/*
|
||||
AddIconByType (SND,/icons/sound2.gif) audio/*
|
||||
AddIconByType (VID,/icons/movie.gif) video/*
|
||||
|
||||
AddIcon /icons/binary.gif .bin .exe
|
||||
AddIcon /icons/binhex.gif .hqx
|
||||
AddIcon /icons/tar.gif .tar
|
||||
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
|
||||
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
|
||||
AddIcon /icons/a.gif .ps .ai .eps
|
||||
AddIcon /icons/layout.gif .html .shtml .htm .pdf
|
||||
AddIcon /icons/text.gif .txt
|
||||
AddIcon /icons/c.gif .c
|
||||
AddIcon /icons/p.gif .pl .py
|
||||
AddIcon /icons/f.gif .for
|
||||
AddIcon /icons/dvi.gif .dvi
|
||||
AddIcon /icons/uuencoded.gif .uu
|
||||
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
|
||||
AddIcon /icons/tex.gif .tex
|
||||
AddIcon /icons/bomb.gif core
|
||||
|
||||
AddIcon /icons/back.gif ..
|
||||
AddIcon /icons/hand.right.gif README
|
||||
AddIcon /icons/folder.gif ^^DIRECTORY^^
|
||||
AddIcon /icons/blank.gif ^^BLANKICON^^
|
||||
|
||||
# DefaultIcon is which icon to show for files which do not have an icon
|
||||
# explicitly set.
|
||||
DefaultIcon /icons/unknown.gif
|
||||
|
||||
# AddDescription allows you to place a short description after a file in
|
||||
# server-generated indexes. These are only displayed for FancyIndexed
|
||||
# directories.
|
||||
# Format: AddDescription "description" filename
|
||||
|
||||
#AddDescription "GZIP compressed document" .gz
|
||||
#AddDescription "tar archive" .tar
|
||||
#AddDescription "GZIP compressed tar archive" .tgz
|
||||
|
||||
# ReadmeName is the name of the README file the server will look for by
|
||||
# default, and append to directory listings.
|
||||
|
||||
# HeaderName is the name of a file which should be prepended to
|
||||
# directory indexes.
|
||||
ReadmeName README.html
|
||||
HeaderName HEADER.html
|
||||
|
||||
# IndexIgnore is a set of filenames which directory indexing should ignore
|
||||
# and not include in the listing. Shell-style wildcarding is permitted.
|
||||
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
||||
</IfDefine>
|
||||
</IfModule>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,67 +0,0 @@
|
||||
# Note: The following must must be present to support
|
||||
# starting without SSL on platforms with no /dev/random equivalent
|
||||
# but a statically compiled-in mod_ssl.
|
||||
<IfModule ssl_module>
|
||||
SSLRandomSeed startup builtin
|
||||
SSLRandomSeed connect builtin
|
||||
</IfModule>
|
||||
|
||||
<IfDefine SSL>
|
||||
# This is the Apache server configuration file providing SSL support.
|
||||
# It contains the configuration directives to instruct the server how to
|
||||
# serve pages over an https connection. For detailing information about these
|
||||
# directives see <URL:http://httpd.apache.org/docs/2.4/mod/mod_ssl.html>
|
||||
|
||||
# Do NOT simply read the instructions in here without understanding
|
||||
# what they do. They're here only as hints or reminders. If you are unsure
|
||||
# consult the online docs. You have been warned.
|
||||
|
||||
## Pseudo Random Number Generator (PRNG):
|
||||
# Configure one or more sources to seed the PRNG of the SSL library.
|
||||
# The seed data should be of good random quality.
|
||||
# WARNING! On some platforms /dev/random blocks if not enough entropy
|
||||
# is available. This means you then cannot use the /dev/random device
|
||||
# because it would lead to very long connection times (as long as
|
||||
# it requires to make more entropy available). But usually those
|
||||
# platforms additionally provide a /dev/urandom device which doesn't
|
||||
# block. So, if available, use this one instead. Read the mod_ssl User
|
||||
# Manual for more details.
|
||||
#SSLRandomSeed startup file:/dev/random 512
|
||||
#SSLRandomSeed startup file:/dev/urandom 512
|
||||
#SSLRandomSeed connect file:/dev/random 512
|
||||
#SSLRandomSeed connect file:/dev/urandom 512
|
||||
|
||||
## SSL Global Context:
|
||||
# All SSL configuration in this context applies both to the main server and
|
||||
# all SSL-enabled virtual hosts.
|
||||
|
||||
# Some MIME-types for downloading Certificates and CRLs
|
||||
<IfModule mime_module>
|
||||
AddType application/x-x509-ca-cert .crt
|
||||
AddType application/x-pkcs7-crl .crl
|
||||
</IfModule>
|
||||
|
||||
## Pass Phrase Dialog:
|
||||
# Configure the pass phrase gathering process. The filtering dialog program
|
||||
# (`builtin' is a internal terminal dialog) has to provide the pass phrase on
|
||||
# stdout.
|
||||
SSLPassPhraseDialog builtin
|
||||
|
||||
## Inter-Process Session Cache:
|
||||
# Configure the SSL Session Cache: First the mechanism to use and second the
|
||||
# expiring timeout (in seconds).
|
||||
#SSLSessionCache dbm:/run/ssl_scache
|
||||
SSLSessionCache shmcb:/run/ssl_scache(512000)
|
||||
SSLSessionCacheTimeout 300
|
||||
|
||||
## Semaphore:
|
||||
# Configure the path to the mutual exclusion semaphore the SSL engine uses
|
||||
# internally for inter-process synchronization.
|
||||
Mutex file:/run/apache_ssl_mutex ssl-cache
|
||||
|
||||
## SSL Compression:
|
||||
# Known to be vulnerable thus disabled by default (bug #507324).
|
||||
SSLCompression off
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -69,13 +69,13 @@ HostnameLookups Off
|
||||
# filesystems or if support for these functions is otherwise
|
||||
# broken on your system.
|
||||
EnableMMAP On
|
||||
EnableSendfile On
|
||||
EnableSendfile Off
|
||||
|
||||
# FileEtag: Configures the file attributes that are used to create
|
||||
# FileETag: Configures the file attributes that are used to create
|
||||
# the ETag (entity tag) response header field when the document is
|
||||
# based on a static file. (The ETag value is used in cache management
|
||||
# to save network bandwidth.)
|
||||
FileEtag INode MTime Size
|
||||
FileETag MTime Size
|
||||
|
||||
# ContentDigest: This directive enables the generation of Content-MD5
|
||||
# headers as defined in RFC1864 respectively RFC2616.
|
||||
@@ -107,8 +107,7 @@ LogLevel warn
|
||||
<Directory />
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Require all denied
|
||||
</Directory>
|
||||
|
||||
# DirectoryIndex: sets the file that Apache will serve if a directory
|
||||
@@ -126,8 +125,7 @@ LogLevel warn
|
||||
# The following lines prevent .htaccess and .htpasswd files from being
|
||||
# viewed by Web clients.
|
||||
<FilesMatch "^\.ht">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
|
||||
@@ -30,8 +30,7 @@ Alias /error/ "/usr/share/apache2/error/"
|
||||
Options IncludesNoExec
|
||||
AddOutputFilter Includes html
|
||||
AddHandler type-map var
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
Require all granted
|
||||
LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
|
||||
ForceLanguagePriority Prefer Fallback
|
||||
</Directory>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<IfModule autoindex_module>
|
||||
<IfDefine !NO_AUTOINDEX_CONF>
|
||||
|
||||
<IfModule alias_module>
|
||||
# We include the /icons/ alias for FancyIndexed directory listings. If
|
||||
# you do not use FancyIndexing, you may comment this out.
|
||||
@@ -7,8 +9,7 @@ Alias /icons/ "/usr/share/apache2/icons/"
|
||||
<Directory "/usr/share/apache2/icons">
|
||||
Options Indexes MultiViews
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
Require all granted
|
||||
</Directory>
|
||||
</IfModule>
|
||||
|
||||
@@ -78,6 +79,7 @@ HeaderName HEADER.html
|
||||
# IndexIgnore is a set of filenames which directory indexing should ignore
|
||||
# and not include in the listing. Shell-style wildcarding is permitted.
|
||||
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
||||
</IfDefine>
|
||||
</IfModule>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
# http://servername/server-info
|
||||
<Location /server-info>
|
||||
SetHandler server-info
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
Require local
|
||||
</Location>
|
||||
</IfDefine>
|
||||
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
# DefaultType: the default MIME type the server will use for a document
|
||||
# if it cannot otherwise determine one, such as from filename extensions.
|
||||
# If your server contains mostly text or HTML documents, "text/plain" is
|
||||
# a good value. If most of your content is binary, such as applications
|
||||
# or images, you may want to use "application/octet-stream" instead to
|
||||
# keep browsers from trying to display binary files as though they are
|
||||
# text.
|
||||
DefaultType text/plain
|
||||
|
||||
<IfModule mime_module>
|
||||
# TypesConfig points to the file containing the list of mappings from
|
||||
# filename extension to MIME-type.
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
# with the URL of http://servername/server-status
|
||||
<Location /server-status>
|
||||
SetHandler server-status
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
Require local
|
||||
</Location>
|
||||
|
||||
# ExtendedStatus controls whether Apache will generate "full" status
|
||||
|
||||
@@ -11,12 +11,10 @@ UserDir public_html
|
||||
AllowOverride FileInfo AuthConfig Limit Indexes
|
||||
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
||||
<Limit GET POST OPTIONS>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
Require all granted
|
||||
</Limit>
|
||||
<LimitExcept GET POST OPTIONS>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Require all denied
|
||||
</LimitExcept>
|
||||
</Directory>
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
# identification number when it starts.
|
||||
#
|
||||
# DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
|
||||
PidFile /var/run/apache2.pid
|
||||
PidFile /run/apache2.pid
|
||||
|
||||
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
|
||||
#LockFile /var/run/apache2.lock
|
||||
# Mutex file:/run/apache_mpm_mutex
|
||||
|
||||
# Only one of the below sections will be relevant on your
|
||||
# installed httpd. Use "/usr/sbin/apache2 -l" to find out the
|
||||
@@ -17,9 +17,9 @@ PidFile /var/run/apache2.pid
|
||||
# These configuration directives apply to all MPMs
|
||||
#
|
||||
# StartServers: Number of child server processes created at startup
|
||||
# MaxClients: Maximum number of child processes to serve requests
|
||||
# MaxRequestsPerChild: Limit on the number of requests that an individual child
|
||||
# server will handle during its life
|
||||
# MaxRequestWorkers: Maximum number of child processes to serve requests
|
||||
# MaxConnectionsPerChild: Limit on the number of connections that an individual
|
||||
# child server will handle during its life
|
||||
|
||||
|
||||
# prefork MPM
|
||||
@@ -31,8 +31,8 @@ PidFile /var/run/apache2.pid
|
||||
StartServers 5
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 10
|
||||
MaxClients 150
|
||||
MaxRequestsPerChild 10000
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# worker MPM
|
||||
@@ -46,8 +46,8 @@ PidFile /var/run/apache2.pid
|
||||
MinSpareThreads 25
|
||||
MaxSpareThreads 75
|
||||
ThreadsPerChild 25
|
||||
MaxClients 150
|
||||
MaxRequestsPerChild 10000
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# event MPM
|
||||
@@ -60,8 +60,8 @@ PidFile /var/run/apache2.pid
|
||||
MinSpareThreads 25
|
||||
MaxSpareThreads 75
|
||||
ThreadsPerChild 25
|
||||
MaxClients 150
|
||||
MaxRequestsPerChild 10000
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# peruser MPM
|
||||
@@ -76,8 +76,8 @@ PidFile /var/run/apache2.pid
|
||||
MinSpareProcessors 2
|
||||
MinProcessors 2
|
||||
MaxProcessors 10
|
||||
MaxClients 150
|
||||
MaxRequestsPerChild 1000
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 1000
|
||||
ExpireTimeout 1800
|
||||
|
||||
Multiplexer nobody nobody
|
||||
@@ -92,8 +92,8 @@ PidFile /var/run/apache2.pid
|
||||
StartServers 5
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 10
|
||||
MaxClients 150
|
||||
MaxRequestsPerChild 10000
|
||||
MaxRequestWorkers 150
|
||||
MaxConnectionsPerChild 10000
|
||||
</IfModule>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
|
||||
@@ -10,7 +10,7 @@ SSLRandomSeed connect builtin
|
||||
# This is the Apache server configuration file providing SSL support.
|
||||
# It contains the configuration directives to instruct the server how to
|
||||
# serve pages over an https connection. For detailing information about these
|
||||
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
|
||||
# directives see <URL:http://httpd.apache.org/docs/2.4/mod/mod_ssl.html>
|
||||
|
||||
# Do NOT simply read the instructions in here without understanding
|
||||
# what they do. They're here only as hints or reminders. If you are unsure
|
||||
@@ -50,14 +50,18 @@ SSLPassPhraseDialog builtin
|
||||
## Inter-Process Session Cache:
|
||||
# Configure the SSL Session Cache: First the mechanism to use and second the
|
||||
# expiring timeout (in seconds).
|
||||
#SSLSessionCache dbm:/var/run/ssl_scache
|
||||
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
|
||||
#SSLSessionCache dbm:/run/ssl_scache
|
||||
SSLSessionCache shmcb:/run/ssl_scache(512000)
|
||||
SSLSessionCacheTimeout 300
|
||||
|
||||
## Semaphore:
|
||||
# Configure the path to the mutual exclusion semaphore the SSL engine uses
|
||||
# internally for inter-process synchronization.
|
||||
SSLMutex file:/var/run/ssl_mutex
|
||||
Mutex file:/run/apache_ssl_mutex ssl-cache
|
||||
|
||||
## SSL Compression:
|
||||
# Known to be vulnerable thus disabled by default (bug #507324).
|
||||
SSLCompression off
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
|
||||
@@ -11,9 +11,7 @@ LDAPOpCacheTTL 600
|
||||
|
||||
<Location /ldap-status>
|
||||
SetHandler ldap-status
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
Require local
|
||||
</Location>
|
||||
</IfDefine>
|
||||
|
||||
|
||||
@@ -5,10 +5,14 @@
|
||||
</IfModule>
|
||||
|
||||
# Set it to handle the files
|
||||
<IfModule mod_mime.c>
|
||||
AddHandler application/x-httpd-php .php .php5 .phtml
|
||||
AddHandler application/x-httpd-php-source .phps
|
||||
</IfModule>
|
||||
# NOTE: Avoiding AddHandler/AddType for security (bug #538822)
|
||||
# NOTE: Please read the related news item!
|
||||
<FilesMatch "\.(php|php5|phtml)$">
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.phps$">
|
||||
SetHandler application/x-httpd-php-source
|
||||
</FilesMatch>
|
||||
|
||||
DirectoryIndex index.php index.phtml
|
||||
</IfDefine>
|
||||
|
||||
@@ -1,191 +0,0 @@
|
||||
<IfDefine SSL>
|
||||
<IfDefine SSL_DEFAULT_VHOST>
|
||||
<IfModule ssl_module>
|
||||
# see bug #178966 why this is in here
|
||||
|
||||
# When we also provide SSL we have to listen to the HTTPS port
|
||||
# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
|
||||
# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
|
||||
Listen 443
|
||||
|
||||
<VirtualHost _default_:443>
|
||||
ServerName localhost
|
||||
Include /etc/apache2/vhosts.d/default_vhost.include
|
||||
ErrorLog /var/log/apache2/ssl_error_log
|
||||
|
||||
<IfModule log_config_module>
|
||||
TransferLog /var/log/apache2/ssl_access_log
|
||||
</IfModule>
|
||||
|
||||
## SSL Engine Switch:
|
||||
# Enable/Disable SSL for this virtual host.
|
||||
SSLEngine on
|
||||
|
||||
## SSLProtocol:
|
||||
# Don't use SSLv2 anymore as it's considered to be broken security-wise.
|
||||
# Also disable SSLv3 as most modern browsers are capable of TLS.
|
||||
SSLProtocol ALL -SSLv2 -SSLv3
|
||||
|
||||
## SSL Cipher Suite:
|
||||
# List the ciphers that the client is permitted to negotiate.
|
||||
# See the mod_ssl documentation for a complete list.
|
||||
# This list of ciphers is recommended by mozilla and was stripped off
|
||||
# its RC4 ciphers. (bug #506924)
|
||||
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:HIGH:!RC4:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK
|
||||
|
||||
## SSLHonorCipherOrder:
|
||||
# Prefer the server's cipher preference order as the client may have a
|
||||
# weak default order.
|
||||
SSLHonorCipherOrder On
|
||||
|
||||
## Server Certificate:
|
||||
# Point SSLCertificateFile at a PEM encoded certificate. If the certificate
|
||||
# is encrypted, then you will be prompted for a pass phrase. Note that a
|
||||
# kill -HUP will prompt again. Keep in mind that if you have both an RSA
|
||||
# and a DSA certificate you can configure both in parallel (to also allow
|
||||
# the use of DSA ciphers, etc.)
|
||||
SSLCertificateFile /etc/ssl/apache2/server.crt
|
||||
|
||||
## Server Private Key:
|
||||
# If the key is not combined with the certificate, use this directive to
|
||||
# point at the key file. Keep in mind that if you've both a RSA and a DSA
|
||||
# private key you can configure both in parallel (to also allow the use of
|
||||
# DSA ciphers, etc.)
|
||||
SSLCertificateKeyFile /etc/ssl/apache2/server.key
|
||||
|
||||
## Server Certificate Chain:
|
||||
# Point SSLCertificateChainFile at a file containing the concatenation of
|
||||
# PEM encoded CA certificates which form the certificate chain for the
|
||||
# server certificate. Alternatively the referenced file can be the same as
|
||||
# SSLCertificateFile when the CA certificates are directly appended to the
|
||||
# server certificate for convinience.
|
||||
#SSLCertificateChainFile /etc/ssl/apache2/ca.crt
|
||||
|
||||
## Certificate Authority (CA):
|
||||
# Set the CA certificate verification path where to find CA certificates
|
||||
# for client authentication or alternatively one huge file containing all
|
||||
# of them (file must be PEM encoded).
|
||||
# Note: Inside SSLCACertificatePath you need hash symlinks to point to the
|
||||
# certificate files. Use the provided Makefile to update the hash symlinks
|
||||
# after changes.
|
||||
#SSLCACertificatePath /etc/ssl/apache2/ssl.crt
|
||||
#SSLCACertificateFile /etc/ssl/apache2/ca-bundle.crt
|
||||
|
||||
## Certificate Revocation Lists (CRL):
|
||||
# Set the CA revocation path where to find CA CRLs for client authentication
|
||||
# or alternatively one huge file containing all of them (file must be PEM
|
||||
# encoded).
|
||||
# Note: Inside SSLCARevocationPath you need hash symlinks to point to the
|
||||
# certificate files. Use the provided Makefile to update the hash symlinks
|
||||
# after changes.
|
||||
#SSLCARevocationPath /etc/ssl/apache2/ssl.crl
|
||||
#SSLCARevocationFile /etc/ssl/apache2/ca-bundle.crl
|
||||
|
||||
## Client Authentication (Type):
|
||||
# Client certificate verification type and depth. Types are none, optional,
|
||||
# require and optional_no_ca. Depth is a number which specifies how deeply
|
||||
# to verify the certificate issuer chain before deciding the certificate is
|
||||
# not valid.
|
||||
#SSLVerifyClient require
|
||||
#SSLVerifyDepth 10
|
||||
|
||||
## Access Control:
|
||||
# With SSLRequire you can do per-directory access control based on arbitrary
|
||||
# complex boolean expressions containing server variable checks and other
|
||||
# lookup directives. The syntax is a mixture between C and Perl. See the
|
||||
# mod_ssl documentation for more details.
|
||||
#<Location />
|
||||
# #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
|
||||
# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
|
||||
# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
|
||||
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
|
||||
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
|
||||
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
|
||||
#</Location>
|
||||
|
||||
## SSL Engine Options:
|
||||
# Set various options for the SSL engine.
|
||||
|
||||
## FakeBasicAuth:
|
||||
# Translate the client X.509 into a Basic Authorisation. This means that the
|
||||
# standard Auth/DBMAuth methods can be used for access control. The user
|
||||
# name is the `one line' version of the client's X.509 certificate.
|
||||
# Note that no password is obtained from the user. Every entry in the user
|
||||
# file needs this password: `xxj31ZMTZzkVA'.
|
||||
|
||||
## ExportCertData:
|
||||
# This exports two additional environment variables: SSL_CLIENT_CERT and
|
||||
# SSL_SERVER_CERT. These contain the PEM-encoded certificates of the server
|
||||
# (always existing) and the client (only existing when client
|
||||
# authentication is used). This can be used to import the certificates into
|
||||
# CGI scripts.
|
||||
|
||||
## StdEnvVars:
|
||||
# This exports the standard SSL/TLS related `SSL_*' environment variables.
|
||||
# Per default this exportation is switched off for performance reasons,
|
||||
# because the extraction step is an expensive operation and is usually
|
||||
# useless for serving static content. So one usually enables the exportation
|
||||
# for CGI and SSI requests only.
|
||||
|
||||
## StrictRequire:
|
||||
# This denies access when "SSLRequireSSL" or "SSLRequire" applied even under
|
||||
# a "Satisfy any" situation, i.e. when it applies access is denied and no
|
||||
# other module can change it.
|
||||
|
||||
## OptRenegotiate:
|
||||
# This enables optimized SSL connection renegotiation handling when SSL
|
||||
# directives are used in per-directory context.
|
||||
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
|
||||
<FilesMatch "\.(cgi|shtml|phtml|php)$">
|
||||
SSLOptions +StdEnvVars
|
||||
</FilesMatch>
|
||||
|
||||
<Directory "/var/www/localhost/cgi-bin">
|
||||
SSLOptions +StdEnvVars
|
||||
</Directory>
|
||||
|
||||
## SSL Protocol Adjustments:
|
||||
# The safe and default but still SSL/TLS standard compliant shutdown
|
||||
# approach is that mod_ssl sends the close notify alert but doesn't wait
|
||||
# for the close notify alert from client. When you need a different
|
||||
# shutdown approach you can use one of the following variables:
|
||||
|
||||
## ssl-unclean-shutdown:
|
||||
# This forces an unclean shutdown when the connection is closed, i.e. no
|
||||
# SSL close notify alert is send or allowed to received. This violates the
|
||||
# SSL/TLS standard but is needed for some brain-dead browsers. Use this when
|
||||
# you receive I/O errors because of the standard approach where mod_ssl
|
||||
# sends the close notify alert.
|
||||
|
||||
## ssl-accurate-shutdown:
|
||||
# This forces an accurate shutdown when the connection is closed, i.e. a
|
||||
# SSL close notify alert is send and mod_ssl waits for the close notify
|
||||
# alert of the client. This is 100% SSL/TLS standard compliant, but in
|
||||
# practice often causes hanging connections with brain-dead browsers. Use
|
||||
# this only for browsers where you know that their SSL implementation works
|
||||
# correctly.
|
||||
# Notice: Most problems of broken clients are also related to the HTTP
|
||||
# keep-alive facility, so you usually additionally want to disable
|
||||
# keep-alive for those clients, too. Use variable "nokeepalive" for this.
|
||||
# Similarly, one has to force some clients to use HTTP/1.0 to workaround
|
||||
# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
|
||||
# "force-response-1.0" for this.
|
||||
<IfModule setenvif_module>
|
||||
BrowserMatch ".*MSIE.*" \
|
||||
nokeepalive ssl-unclean-shutdown \
|
||||
downgrade-1.0 force-response-1.0
|
||||
</IfModule>
|
||||
|
||||
## Per-Server Logging:
|
||||
# The home of a custom SSL log file. Use this when you want a compact
|
||||
# non-error SSL logfile on a virtual host basis.
|
||||
<IfModule log_config_module>
|
||||
CustomLog /var/log/apache2/ssl_request_log \
|
||||
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
|
||||
</IfModule>
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
</IfDefine>
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -21,10 +21,22 @@ Listen 443
|
||||
# Enable/Disable SSL for this virtual host.
|
||||
SSLEngine on
|
||||
|
||||
## SSLProtocol:
|
||||
# Don't use SSLv2 anymore as it's considered to be broken security-wise.
|
||||
# Also disable SSLv3 as most modern browsers are capable of TLS.
|
||||
SSLProtocol ALL -SSLv2 -SSLv3
|
||||
|
||||
## SSL Cipher Suite:
|
||||
# List the ciphers that the client is permitted to negotiate.
|
||||
# See the mod_ssl documentation for a complete list.
|
||||
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
|
||||
# This list of ciphers is recommended by mozilla and was stripped off
|
||||
# its RC4 ciphers. (bug #506924)
|
||||
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:HIGH:!RC4:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK
|
||||
|
||||
## SSLHonorCipherOrder:
|
||||
# Prefer the server's cipher preference order as the client may have a
|
||||
# weak default order.
|
||||
SSLHonorCipherOrder On
|
||||
|
||||
## Server Certificate:
|
||||
# Point SSLCertificateFile at a PEM encoded certificate. If the certificate
|
||||
|
||||
Reference in New Issue
Block a user