You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Batara Kesuma <bk...@ml.gaijinweb.com> on 2004/07/01 10:02:16 UTC
[users@httpd] Random backend with mod_rewrite
Hi,
I have 1 frontend server and 3 backend servers. The frontend runs
mod_rewrite, and redirecting .pl to backend. The conf looks like this:
## httpd.conf
RewriteMap server rnd:/usr/local/httpd_proxy/conf/server.txt
RewriteRule ^/(.*\.pl)$ http://${server:backend}:8080/$1 [P]
## server.txt
backend back01|back02|back03
Now the problem is, if one of the backend dies, the frontend will wait
for it forever. How do I set it on frontend, so it ignores died backend?
Thank you,
--bk
---------------------------------------------------------------------
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