httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torsten herden <>
Subject [users@httpd] mod_rewrite and round robin
Date Wed, 09 Jul 2003 21:27:09 GMT
Hi all,
who could check the following syntax of my 
cluster.txt and my httpd.conf

I would like to filter the urls of
/maps1 /maps2 /cache1 /cache2 and then do an round
robin over specific servers.

My cluster.txt looks like:


cache1 sun18i1_1/cache | sun18i1_2/cache
cache2 sun26i1_1/cache | sun26i1_2/cache

My httpd.conf

RewriteEngine on

RewriteLog logs/proxy_rewrite
RewriteLogLevel 0

RewwriteMap cluster

RewriteRule /maps1 http://{cluster:maps1}.$2 [P,L]
RewriteRule /maps2 http://{cluster:maps2}.$2 [P,L]
RewriteRule /cache1 http://{cluster:cache1}.$2 [P,L]
RewriteRule /cache2 http://{cluster:cache2}.$2 [P,L]

ProxyRequests 	on

ProxyPassReverse        /maps1
ProxyPassReverse        /maps2
ProxyPassReverse        /cache1
ProxyPassReverse        /cache2


Gesendet von Yahoo! Mail -
Logos und Klingeltöne fürs Handy bei

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