From a6810d012600d9a67510a7a1d851e4504c6731f7 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 19 May 2010 21:58:55 +0000 Subject: [PATCH] vhosts section of avoid doc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@946433 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/avoid.html.en | 18 +++++++++++++++++- docs/manual/rewrite/avoid.xml | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/docs/manual/rewrite/avoid.html.en b/docs/manual/rewrite/avoid.html.en index 7c473958b7..65709de040 100644 --- a/docs/manual/rewrite/avoid.html.en +++ b/docs/manual/rewrite/avoid.html.en @@ -134,7 +134,23 @@ server.

Virtual Hosting

Although it is possible to handle virtual hosts -with mod_rewrite, it is

+with mod_rewrite, it is seldom the right way. Creating individual +<VirtualHost> blocks is almost always the right way to go. In the +event that you have an enormous number of virtual hosts, consider using +mod_vhost_alias to crate these hosts automatically.

+ +

Third-party modules sucha as mod_macro are +also useful for creating a large number of virtual hosts dymaically.

+ +

Using mod_rewrite for vitualhost creation may be +appropriate if you are using a hosting service that does not provide +you access to the server configuration files, and you are therefore +restricted to configuration using .htaccess files.

+ +

See the virtual hosts with mod_rewrite +document for more details on how you might accomplish this if it still +seems like the right approach.

+
top

Simple Proxying

diff --git a/docs/manual/rewrite/avoid.xml b/docs/manual/rewrite/avoid.xml index fd9006e34a..41f7c7c405 100644 --- a/docs/manual/rewrite/avoid.xml +++ b/docs/manual/rewrite/avoid.xml @@ -144,7 +144,23 @@ server.

Virtual Hosting

Although it is possible to handle virtual hosts -with mod_rewrite, it is

+with mod_rewrite, it is seldom the right way. Creating individual +<VirtualHost> blocks is almost always the right way to go. In the +event that you have an enormous number of virtual hosts, consider using +mod_vhost_alias to crate these hosts automatically.

+ +

Third-party modules sucha as mod_macro are +also useful for creating a large number of virtual hosts dymaically.

+ +

Using mod_rewrite for vitualhost creation may be +appropriate if you are using a hosting service that does not provide +you access to the server configuration files, and you are therefore +restricted to configuration using .htaccess files.

+ +

See the virtual hosts with mod_rewrite +document for more details on how you might accomplish this if it still +seems like the right approach.

+
Simple Proxying -- 2.50.1