diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-24 19:50:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-25 20:35:49 +0200 |
commit | f51a5b04daebf16ae94ca8ddbd8f67a4e95a34cf (patch) | |
tree | 09198d527fe403837d15029f1bb4bdf648cf65ff /etc/httpd.conf | |
parent | 2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 (diff) |
Apache config cleanup
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r-- | etc/httpd.conf | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf index 96a8b74..dc56d9b 100644 --- a/etc/httpd.conf +++ b/etc/httpd.conf @@ -8,7 +8,6 @@ Group apache CoreDumpDirectory "${AP_WORKSPACE_DIR}" PidFile "${AP_WORKSPACE_DIR}/httpd.pid" -#ErrorLog error_log ErrorLog "|/usr/sbin/rotatelogs error_log.%Y%m%d 86400" ErrorLogFormat "[%t] [%l] [%m] %M" LogLevel ${AP_LOG_LEVEL} @@ -29,15 +28,11 @@ 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 authz_host_module /usr/lib64/httpd/modules/mod_authz_host.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 LoadModule alias_module /usr/lib64/httpd/modules/mod_alias.so LoadModule repository_root_srv ${AP_MODULE_DIR}/libbrep-apache.so @@ -110,18 +105,9 @@ ExtendedStatus On <Location /server-status> SetHandler server-status - Order deny,allow - Deny from all - Allow from 127.0.0 - Allow from localhost + Require local </Location> -<Directory /> - Options FollowSymLinks - AllowOverride None -</Directory> - -DirectoryIndex index.html TypesConfig /etc/mime.types AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE text/css |