From: Vincent Deffontaines Date: Tue, 2 Nov 2010 12:35:25 +0000 (+0000) Subject: Adding a very short note, at the very top of the document, so that people with access... X-Git-Tag: 2.2.18~342 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638953c1d51643f9e5f7d382fa277d62e62a19ef;p=thirdparty%2Fapache%2Fhttpd.git Adding a very short note, at the very top of the document, so that people with access to main server config will avoid .htaccess files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1030017 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/htaccess.html.en b/docs/manual/howto/htaccess.html.en index 327d68c2e76..e060239495f 100644 --- a/docs/manual/howto/htaccess.html.en +++ b/docs/manual/howto/htaccess.html.en @@ -19,6 +19,7 @@ Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials

Apache Tutorial: .htaccess files

Available Languages:  en  | + fr  |  ja  |  ko  |  pt-br 

@@ -39,6 +40,10 @@ changes on a per-directory basis.

top

.htaccess files

+
You should avoid using .htaccess files completely if you have access to + httpd main server config file. Using .htaccess files slows down your Apache server. + Any directive that you can include in a .htaccess file is better set in a Directory block, as it will have the same effect with better performance.
+
top
@@ -120,7 +125,7 @@ changes on a per-directory basis.

However, in general, use of .htaccess files should be avoided when possible. Any configuration that you would consider putting in a .htaccess file, can just as effectively be - made in a <Directory> section in your main server + made in a <Directory> section in your main server configuration file.

There are two main reasons to avoid the use of @@ -376,6 +381,7 @@ Options +IncludesNoExec -ExecCGI

Available Languages:  en  | + fr  |  ja  |  ko  |  pt-br 

diff --git a/docs/manual/howto/htaccess.xml b/docs/manual/howto/htaccess.xml index 7b497b94fcb..4fb3aada548 100644 --- a/docs/manual/howto/htaccess.xml +++ b/docs/manual/howto/htaccess.xml @@ -30,7 +30,12 @@ changes on a per-directory basis.

+