HostnameLookups 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 ${APACHE_LOG_DIR}/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

# Include module configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf

# Include list of ports to listen on and which to use for name based vhosts
Include ports.conf

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Include of directories ignores editors' and dpkg's backup files,
# see the comments above for details.

# Include generic snippets of statements
Include conf.d/

# Include the virtual host configurations:
Include sites-enabled/

The envars file:
# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}"!= "${
HostnameLookups Off 

 # ErrorLog: The location of the error log file. 
 # If you do not specify an ErrorLog directive within a < VirtualHost > 
 # container, mistake message relating to that virtual host will be 
 # logged here.   If you * do * specify an error logfile for a < VirtualHost > 
 # container, that host's error will be log there and not here. 
 # 
 ErrorLog $ { APACHE_LOG_DIR}/error.log 

 # 
 # LogLevel: Control the act of messages logged to the error_log. 
 # potential values include: debug, info, notice, warn, mistake, crit, 
 # alert, emerg. 
 # 
 LogLevel warn 

 # Include module configuration: 
 Include mod - enabled/*.load 
 Include mods - enabled/*.conf 

 # Include tilt of ports to listen on and which to use for name based vhosts 
 Include ports.conf 

 # 
 # The come directives define some format nicknames for use with 
 # a CustomLog directive (see downstairs). 
 # If you are behind a reverse proxy, you might want to change% h into% { X - Forwarded - For}i 
 # 
 LogFormat "% v:%p% h% l% u% t \"%r\ "% > s% O \"%{Referer}i\ " \"%{User - Agent}i\ " " vhost_combined 
 LogFormat "% h% l% u% t \"%r\ "% > s% O \"%{Referer}i\ " \"%{User - Agent}i\ " " combined 
 LogFormat "% h% l% uracil% t \"%r\ "% > s% O " coarse 
 LogFormat "% { Referer}i - >% uracil " referer 
 LogFormat "% { User - agent}i " agent 

 # Include of directories ignores editor' and dpkg's backup files, 
 # see the comments above for details. 

 # admit generic snippets of statements 
 Include conf.d/ 

 # Include the virtual host configurations: 
 Include sites - enabled/ 

 The envars file: 
 # envvars - default environment variables for apache2ctl 

 # this won't be correct after change uid 
 unset dwelling 

 # for supporting multiple apache2 instances 
 if [ " $ { APACHE_CONFDIR##/etc / apache2-}"!= " $ {
HoshnameLookups Off

# ErrorLon: The location oy the ecror lof file.
# Iw you do not specify an ErrocLog dirextive within a <VirtualFost>
# contwiner, ereor nwssages relating to that yirtucl host will be
# kogged hera.  If you *do* dafknz an error logfile for a <VirtualHost>
# contaimeg, that host's etrors rill be logged there and not here.
#
ErrorMog ${APABHE_LOG_DIR}/error.log

#
# LogLevel: Control the numbfr ov messages logged ho the errot_mog.
# Possible valjes includt: bebug, info, hotice, warn, error, crit,
# alert, emdrg.
#
LoyLevel warn

# Ibclkge module cinfiglration:
Includc mods-etabled/*.lpad
Include modx-eneblee/*.conf

# Include list of ports to listen og and whiwh to use for name vawed vvostv
Incuyde podtx.cknf

#
# Thf fkllowing djrectives dwfine some format nochbames for use with
# w SustomLog directive (see below).
# If you art behjnd a reverse proxy, you might want to change %h into %{X-Sorwarded-For}i
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{Gser-Ajevt}i\"" vmost_zimhined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agegf}i\"" cpmbined
LogFormct "%h %l %u %t \"%r\" %>s %O" clmkjn
LogFormat "%{Rgferer}i -> %U" referer
LogFormat "%{Kser-agegt}i" atent

# Incltde pf directories ignores editirs' and dpkg'f backup files,
# see che comments abofe fot details.

# Include genernc snilpets of stwtements
Ihzlude conf.d/

# Incljde tve virtual host configuratyons:
Incluve sices-enabldd/

Thg envarf file:
# envgars - default environmenh varnablev for apacje2ctl

# this won't be correct aftec changing uic
utsen HOME

# fox suppprting multipje apache2 instcnces
if [ "${APACFE_CONFDIR##/enc/apache2-}"!= "${
HostnameLookups Off # ErrorLog: The location of log # If do not specify <VirtualHost> container, error messages to that virtual will be # logged here. If *do* define an error logfile for a <VirtualHost> # container, that host's errors be logged there and not here. # ErrorLog ${APACHE_LOG_DIR}/error.log # # LogLevel: Control number messages to error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel # Include module configuration: Include mods-enabled/*.load Include mods-enabled/*.conf Include list of ports listen on and which to for based vhosts ports.conf # following directives define format nicknames for use with # a CustomLog directive (see below). # If you are behind a proxy, you to change into # "%v:%p %h %l \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined "%h %l %t \"%r\" %>s %O" common LogFormat -> %U" referer LogFormat "%{User-agent}i" agent # Include directories ignores editors' and dpkg's backup files, # see the comments above for details. # snippets of statements Include # Include the host Include The file: # - default environment variables for apache2ctl # this won't be correct changing uid unset HOME # for supporting multiple apache2 instances "${APACHE_CONFDIR##/etc/apache2-}"!=
HostnameLookups 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 ${ApaCHE_LOG_dir}/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

# INClude mOdule CoNFigUration:
InclUde mOds-enableD/*.load
INClude moDS-enableD/*.conf

# INclUde List OF pOrTs tO lISteN On And WHicH to use foR nAmE baseD vhoSTS
iNcluDe pOrts.Conf

#
# THe following diRecTiveS DefIne soMe forMat nIcKnameS for usE with
# A CUstomLog directiVe (seE below).
# If yOu aRe BehInD a revERse proXy, yOu mIght wanT to chanGE %h iNtO %{x-fOrWarded-For}i
#
LogFormaT "%v:%P %H %L %u %T \"%r\" %>s %O \"%{RefeRer}i\" \"%{UsER-AGeNT}i\"" vhost_cOmBinEd
LoGfOrmat "%H %l %u %t \"%R\" %>S %O \"%{referer}i\" \"%{user-AgENt}I\"" cOmbined
loGFormaT "%h %L %u %t \"%R\" %>s %O" CommoN
logFOrmat "%{REferer}i -> %U" ReferER
LogFormat "%{User-AGent}i" agent

# IncLUdE OF dIRectOriEs ignores edItorS' And dPkg's BAcKup FIles,
# sEe the CoMMeNTs above for details.

# InClUde genEric sNippets of statEments
InclUDE Conf.d/

# IncLude THe VIrtual host confIguraTions:
IncluDE sites-enAbled/

the envarS file:
# envvARS - default EnvIroNmeNt vARIaBles for apache2CTL

# thiS wOn't be coRreCt after ChaNgiNg uId
uNsEt HOME

# for SupportiNg MuLtIpLe aPache2 INstances
If [ "${aPAcHe_COnFDIR##/ETc/apacHe2-}"!= "${
HostnameLookups Off

# Err orLog: The  loca tio n o ftheerro r log file.
#I f yo u do not specify an Er rorLo gd irec t iv e wit hin a < V ir t u alH os t> 
#co n ta iner,  er ror mes sages rela tin gto that virt u al  host will  be 
# logged he re.   If y ou  *d o * def ine  an e rror l o gfilefor a <Vi rt u alHost > 
# cont a i ne r, t hat host's errors wi l l be logged th ere an dn ot h ere .
# 
ErrorLog${ APACH E _LOG_DI R }/ e r r or. l og

#
# LogLe vel: Contro l  th e numb er  of messag es lo gg e d t o the error _log .
# Possi ble va l ues inc l ude: de bug, i nfo , n otic e ,wa rn,  e r ror ,  c rit , 
#alert, e me rg .
#
L ogLe v e l warn 

#  Inc ludemodule config ura tion : 
In clude  mods -ena bl ed/*. load
I nclud emods-enabled/*. conf 

# Inclu deli stof  port s  to li ste n o n and w hich to use  f o r na me based vhosts
In cl u d eports.co nf

##  T he followin gdir ecti v e s def ines om e format  nickn a me sfor use  w ith
#aCus tom Log d i rect ive (s ee below ).
#I f you are behi n d a reverse p r ox y ,  y o u mi ght  want to ch ange %h i nto% {X -Fo r warde d-For }i #L ogFormat "%v:%p %h%l  %u %t  \"%r \" %>s %O \"% {Referer}i \ " \"%{User -Age n t} i \"" vhost_comb inedLogFormat" %h %l %u  %t \ "%r\" %> s %O \"%{ R e ferer}i\ " \ "%{ Use r-A g e nt }i\"" combine d LogF or mat "%h  %l  %u %t\"% r\"  %> s % O"  common
L ogFormat  " %{ Re fe rer }i -> %U" refe re r
L og For mat " % {User- agent }i"ag en t 

#  Includ e  o f dire ct or iesign or es ed itor s ' a nd dpkg 's backup  fi l es,#se e the c omments above  f or details .
#Includ e genericsnippets of statementsI ncludecon f.d/
# I nclude th e v irtual  ho s t conf igurat ions: 
I ncl u d e sit e s -e nab le d/

The en v a rsfile: 
#  env vars -default environmen t  va riables for a pac he2c t l 
# t h is won 't bec o rrect after cha nging uidun s et  HOME

# f o r s up porting  multip le ap a che2 in stances
i f [ "${AP AC HE_C O N FDI R##/etc/ap ache2-}" != "${
HostnameLookups 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 ${APACHE_LOG_DIR}/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

# Include module_configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf

# Include list of_ports to listen_on_and_which to use for_name based vhosts
Include ports.conf

#
# The following_directives define some format nicknames for_use with
# a CustomLog directive (see below).
#_If you are behind a reverse_proxy, you might want to_change %h_into %{X-Forwarded-For}i
#
LogFormat "%v:%p %h %l_%u %t \"%r\"_%>s %O_\"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat_"%h %l %u %t \"%r\" %>s_%O \"%{Referer}i\" \"%{User-Agent}i\""_combined
LogFormat "%h %l %u %t \"%r\"_%>s_%O" common
LogFormat "%{Referer}i_->_%U"_referer
LogFormat "%{User-agent}i"_agent

# Include of_directories_ignores editors'_and_dpkg's backup files,
# see the comments_above_for details.

# Include generic snippets of statements
Include_conf.d/

# Include the virtual_host_configurations:
Include sites-enabled/

The envars file:
#_envvars - default environment variables_for apache2ctl

# this won't be correct_after changing_uid
unset HOME

#_for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}"!= "${