From e2ca1bf93104b773a05c1ffc32086d9373920b78 Mon Sep 17 00:00:00 2001 From: Binyamin Laukstein <7raivis@inbox.lv> Date: Wed, 14 Dec 2011 21:58:54 +0200 Subject: [PATCH] Apache Performance Tuning http://httpd.apache.org/docs/current/misc/perf-tuning.html#symlinks Set -SymLinksIfOwnerMatch to avoid Apache extra system calls to check up on symlinks. --- .htaccess | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.htaccess b/.htaccess index 0c4566ed4d..20804843c0 100644 --- a/.htaccess +++ b/.htaccess @@ -329,6 +329,17 @@ FileETag None +# ---------------------------------------------------------------------- +# Apache Performance Tuning +# ---------------------------------------------------------------------- + +# Without -SymLinksIfOwnerMatch Apache will have to issue extra system calls to check up on symlinks. +# For highest performance and no symlink protection set +FollowSymLinks and -SymLinksIfOwnerMatch + +Options -SymLinksIfOwnerMatch + + + # ---------------------------------------------------------------------- # Suppress or force the "www." at the beginning of URLs # ----------------------------------------------------------------------