ServerRoot "/etc/httpd"
GracefulShutDownTimeout 120
<IfModule mpm_prefork_module>
AcceptMutex fcntl
CoreDumpDirectory /tmp
EnableExceptionHook Off
ListenBacklog 511
LockFile logs/accept.lock
MaxClients 256
MaxMemFree 0
MaxRequestsPerChild 4000
PidFile /var/run/httpd.pid
ReceiveBufferSize 0
SendBufferSize 0
ServerLimit 256
StartServers 8
MinSpareServers 5
MaxSpareServers 20
</IfModule>
<IfModule mpm_worker_module>
AcceptMutex fcntl
CoreDumpDirectory /tmp
EnableExceptionHook Off
ListenBacklog 511
LockFile logs/accept.lock
MaxClients 150
MaxMemFree 0
MaxRequestsPerChild 0
MaxSpareThreads 75
MinSpareThreads 25
PidFile /var/run/httpd.pid
ReceiveBufferSize 0
SendBufferSize 0
ServerLimit 256
StartServers 2
ThreadLimit 64
ThreadsPerChild 25
ThreadStackSize 32768
</IfModule>
<IfModule mpm_event_module>
AcceptMutex fcntl
CoreDumpDirectory /tmp
EnableExceptionHook Off
ListenBacklog 511
LockFile logs/accept.lock
MaxClients 150
MaxMemFree 0
MaxRequestsPerChild 0
MaxSpareThreads 75
MinSpareThreads 25
PidFile /var/run/httpd.pid
ReceiveBufferSize 0
SendBufferSize 0
ServerLimit 256
StartServers 2
ThreadLimit 64
ThreadsPerChild 25
ThreadStackSize 32768
</IfModule>
listen 0.0.0.0:80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule mime_module modules/mod_mime.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
Include modules.d/*.conf
Include conf.d/*.conf
User apache
Group apache
ServerAdmin [EMAIL="[email protected]"][email protected][/EMAIL]
ServerName dns.izaz.com.br:80
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
UseCanonicalName Off
ServerTokens OS
ServerSignature On
HostnameLookups Off
DocumentRoot "/var/www/html"
<Directory />
Options -All -Multiviews
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/var/www/html">
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mod_include.c>
<IfModule mod_dir.c>
DirectoryIndex index.shtml
</IfModule>
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html index.html.var index.cgi index.pl index.htm Default.htm default.htm index.xml
</IfModule>
AccessFileName .htaccess
<IfModule mod_authz_host.c>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
</IfModule>
<IfModule mod_mime.c>
TypesConfig conf/mime.types
</IfModule>
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
ErrorLog logs/error_log
LogLevel warn
<IfModule mod_log_config.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" VLOG=%{VLOG}e" vhost
<IfModule mod_logio.c>
</IfModule>
CustomLog logs/access_log common
CustomLog logs/access_log combined
</IfModule>
<IfModule mod_alias.c>
Alias /icons/ "/var/www/icons/"
Alias /error/ "/var/www/error/"
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
ScriptAlias /protected-cgi-bin/ "/var/www/protected-cgi-bin/"
</IfModule>
<Directory "/var/www/icons">
Options -Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_cgid.c>
</IfModule>
<Directory "/var/www/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/protected-cgi-bin">
AllowOverride All
Options ExecCGI
Order deny,allow
Deny from all
Allow from 127.0.0.1
#allow from .your_domain.com
</Directory>
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable
AddIconByEncoding (CMP,/icons/compressed.png) x-compress x-gzip
AddIconByType (TXT,/icons/text.png) text/*
AddIconByType (IMG,/icons/image2.png) image/*
AddIconByType (SND,/icons/sound2.png) audio/*
AddIconByType (VID,/icons/movie.png) video/*
AddIcon /icons/binary.png .bin .exe
AddIcon /icons/binhex.png .hqx
AddIcon /icons/tar.png .tar
AddIcon /icons/world2.png .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.png .Z .z .tgz .gz .zip
AddIcon /icons/a.png .ps .ai .eps
AddIcon /icons/layout.png .html .shtml .htm .pdf
AddIcon /icons/text.png .txt
AddIcon /icons/c.png .c
AddIcon /icons/p.png .pl .py
AddIcon /icons/f.png .for
AddIcon /icons/dvi.png .dvi
AddIcon /icons/uuencoded.png .uu
AddIcon /icons/script.png .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.png .tex
AddIcon /icons/bomb.png core
AddIcon /icons/back.png ..
AddIcon /icons/hand.right.png README
AddIcon /icons/folder.png ^^DIRECTORY^^
AddIcon /icons/blank.png ^^BLANKICON^^
DefaultIcon /icons/unknown.png
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
</IfModule>