Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerRoot "/etc/apache2"
- LockFile /var/lock/apache2/accept.lock
- <IfModule mod_ssl.c>
- Include conf/ssl.conf
- </IfModule>
- PidFile /var/run/apache2.pid
- Timeout 300
- KeepAlive On
- MaxKeepAliveRequests 100
- KeepAliveTimeout 15
- <IfModule mpm_prefork_module>
- StartServers 5
- MinSpareServers 5
- MaxSpareServers 10
- MaxClients 150
- MaxRequestsPerChild 0
- </IfModule>
- <IfModule mpm_worker_module>
- StartServers 2
- MaxClients 150
- MinSpareThreads 25
- MaxSpareThreads 75
- ThreadsPerChild 25
- MaxRequestsPerChild 0
- </IfModule>
- User www-data
- Group www-data
- AccessFileName .htaccess
- AccessFileName .htaccess
- <Files ~ "^\.ht">
- Order allow,deny
- Deny from all
- </Files>
- DefaultType text/plain
- HostnameLookups Off
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- # Include module configuration:
- Include /etc/apache2/mods-enabled/*.load
- Include /etc/apache2/mods-enabled/*.conf
- # Include all the user configurations:
- #Include /etc/apache2/httpd.conf
- # Include ports listing
- Include /etc/apache2/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
- ServerTokens Full
- ServerSignature On
- <FilesMatch "\.(inc|cfg|cf|conf)$">
- Order allow,deny
- Deny from all
- </FilesMatch>
- #XBitHack on
- Alias /mysar /usr/local/mysar/www
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement