On Nov 26, 2007 2:52 PM, Christian Folini <christian.folini@xxxxxxx> wrote: > On Mon, Nov 26, 2007 at 08:25:40AM -0500, Grant Peel wrote: > > I have a client for whom I have added about 500 301 redirects in thier > > VirtualHost container. The server has about 200 VirtualHosts total. > > > > What kind of performance issues would one think all those redirects have on > > the whole (Apache) server? > > apache bench (ab) would tell you. > > Otherwise: Think about what is happening on the network level and > within your server. > > For every request, the processing process/thread iterates over up > to 500 rules. Sometimes it issues a redirect status code back to > the client who in turn issues a new request. I had a similar situation, and solved it by using a rewritemap. That way in stead of going over 500 rules the server just made one lookup in a hashtable. Krist -- krist.vanbesien@xxxxxxxxx krist@xxxxxxxxxxxxx Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx