httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] huge config file & e404 page on different server
Date Fri, 10 Aug 2007 13:33:16 GMT
On 8/10/07, Samuel Vogel <> wrote:
> I have to questions regarding Apache:
> 1. With my setup I will have config files that are as big as 10mb, since
> I have complicated vhost config and 5000 vhosts. Will this slow Apache
> down significantly or have any other negative impact?
> The Problem is that the vhost config is to complicated for
> mod_vhost_alias...

It will make startup and restarts slower and will increase the memory
usage somewhat. There will also be some effect on run-time
performance, but it probably won't be too big.

What exactly is it about the vhost config that is too complicated for
dynamic vhosts? Some things can be worked around using mod_rewrite
instead of mod_vhost_alias.

> 2. I have 4 Servers. 3 of them to hold user content and one as a master
> server, which serves the startpage and login page etc. I would like to
> place my Error 404 document on the Master Server. But when I set the
> Error 404 to an http:// location pointing directly to my Error 404 page
> on master server. But this makes the page have status 200 and not 404
> anymore.
> How can I solve this problem?

That's because if the error page isn't on the same server that
actually has the error, the server must send a redirect to the client.
Therefore if you want to deliver the proper response code, the error
page must be in the namespace of the server with the error. If that is
a problem, you can use ProxyPass to bring a document from the Master
Server into the namespace of the other servers.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message