diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-23 12:43:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-23 12:43:52 +0200 |
commit | a20443c285dabdec8d2ee740500c62e31ad90c7b (patch) | |
tree | b18db4007e45f8db1f97c0d5abf78729138406ac /etc/httpd.conf | |
parent | 370e361db628f60bca5509dcc354014569d56752 (diff) |
Implement apache service
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r-- | etc/httpd.conf | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf new file mode 100644 index 0000000..95b887d --- /dev/null +++ b/etc/httpd.conf @@ -0,0 +1,61 @@ +User apache +Group apache + +ErrorLog error_log +#ErrorLog "|/usr/sbin/rotatelogs /Users/karen/projects/brep/var/error_log.%Y%m%d 86400" + +ErrorLogFormat "[%t] [%l] [%m] %M" + +Timeout 60 + +KeepAlive On +KeepAliveTimeout 3 + +ThreadLimit 1000 +ServerLimit 2 +StartServers 1 +MaxClients 1000 +MinSpareThreads 400 +MaxSpareThreads 600 +ThreadsPerChild 500 +MaxRequestsPerChild 0 + +LoadModule mpm_worker_module /usr/lib64/httpd/modules/mod_mpm_worker.so +LoadModule unixd_module /usr/lib64/httpd/modules/mod_unixd.so +LoadModule filter_module /usr/lib64/httpd/modules/mod_filter.so +LoadModule access_compat_module /usr/lib64/httpd/modules/mod_access_compat.so +LoadModule authn_core_module /usr/lib64/httpd/modules/mod_authn_core.so +LoadModule authz_core_module /usr/lib64/httpd/modules/mod_authz_core.so +LoadModule status_module /usr/lib64/httpd/modules/mod_status.so +LoadModule mime_module /usr/lib64/httpd/modules/mod_mime.so +LoadModule deflate_module /usr/lib64/httpd/modules/mod_deflate.so +LoadModule authz_host_module /usr/lib64/httpd/modules/mod_authz_host.so +LoadModule expires_module /usr/lib64/httpd/modules/mod_expires.so +LoadModule dir_module /usr/lib64/httpd/modules/mod_dir.so + +TypesConfig /etc/mime.types + +<LocationMatch ^/search$> + SetHandler search +</LocationMatch> + +<LocationMatch ^/view$> + SetHandler view +</LocationMatch> + +DirectoryIndex index.html + +ExtendedStatus On + +<Location /server-status> + SetHandler server-status + Order deny,allow + Deny from all + Allow from 127.0.0 + Allow from localhost +</Location> + +<Directory /> + Options FollowSymLinks + AllowOverride None +</Directory> |