Apache Server configuration support - Apache2 Redirect - new entry not working

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > Apache2 Redirect - new entry not working





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache2 Redirect - new entry not working
SiuHin

2006-02-21, 5:56 pm

Is there any limitation or bug on Redirect configuration. Recently, all
our newly added redirect statement doesn't work, while the old redirect
statement remain working. We currently have 266 redirect statements. Is
it too much for apache2 to handle? Anyone have experienced this, and
how can I get this working?

SiuHin

2006-02-21, 8:48 pm

Find the problem, seems like the reverse proxy catch all directive
overridden the redirect directive. Thus, it's using the old redirect
directive on the old server. Is there anyway to revise the order so
redirect directive will be handled before the reverse proxy directive?

SiuHin wrote:
> Is there any limitation or bug on Redirect configuration. Recently, all
> our newly added redirect statement doesn't work, while the old redirect
> statement remain working. We currently have 266 redirect statements. Is
> it too much for apache2 to handle? Anyone have experienced this, and
> how can I get this working?


Klaus Johannes Rusch

2006-02-22, 7:50 am

SiuHin wrote:

> Find the problem, seems like the reverse proxy catch all directive
> overridden the redirect directive. Thus, it's using the old redirect
> directive on the old server. Is there anyway to revise the order so
> redirect directive will be handled before the reverse proxy directive?


ProxyPass will be processed first but you can exclude paths that you
want to redirect instead fro the ProxyPass:

http://httpd.apache.org/docs/2.0/mo....html#proxypass

The ! directive is useful in situations where you don't want to
reverse-proxy a subdirectory, e.g.

ProxyPass /mirror/foo/i !
ProxyPass /mirror/foo http://backend.example.com

will proxy all requests to /mirror/foo to backend.example.com except
requests made to /mirror/foo/i.

--
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com