Created
November 8, 2013 02:01
-
-
Save tanweernoor/7365106 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Security | |
ServerTokens OS | |
ServerSignature On | |
TraceEnable Off | |
ServerName "xx.xx.xx.xx" | |
ServerRoot "/etc/httpd" | |
PidFile run/httpd.pid | |
Timeout 120 | |
KeepAlive Off | |
MaxKeepAliveRequests 100 | |
KeepAliveTimeout 15 | |
User apache | |
Group apache | |
AccessFileName .htaccess | |
<Files ~ "^\.ht"> | |
Order allow,deny | |
Deny from all | |
Satisfy all | |
</Files> | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
</Directory> | |
DefaultType none | |
HostnameLookups Off | |
ErrorLog /var/log/httpd/error_log | |
LogLevel warn | |
#Listen 80 | |
Include /etc/httpd/conf.d/*.load | |
Include /etc/httpd/conf/ports.conf | |
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 | |
Include /etc/httpd/conf.d/*.conf | |
#Listen 0.0.0.0:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment