You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by SH Solutions <in...@sh-solutions.de> on 2004/01/04 16:15:19 UTC

[users@httpd] Virtuall Hosts and Redirects

Hello.

I create a single file with a script, that contains the configuration for
multiple virtual hosts.

There are about 200 blocks, each in one of these two formats:

-  <VirtualHost *>
-  	ServerName www.domain.de
-  	DocumentRoot /some/path/
-  </VirtualHost>

or

-  <VirtualHost *>
-  	ServerName domain.de
-  	RewriteEngine on
-  	RewriteRule ^/(.*) http://www.domain.de/$1
-  </VirtualHost>

Is this efficient?
Is there a better way?

I find it exspecially inefficient, that apache needs to be restartet after
each change and that everything has to be read all over....

I am thankful for EVERY comment.

Thanks,
  Steffen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org