httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] Dynamically Updating Rewrite rules etc.
Date Thu, 12 Mar 2009 10:37:02 GMT
On Wed, Mar 11, 2009 at 9:34 PM, wi <icebattle@gmail.com> wrote:
>
> It would be nice if there was a way to dynamically update this routing
> information without having to resort to updating configuration for
> each server (even though they're all the same). What would be even
> nicer is if each back-end application could publish/broadcast it's
> existence and for the Apache servers to pick this up. Without getting
> into complicated LDAP stuff, has anyone seen this type of setup and
> solution before?

One solution would be to use rewrite maps. Apache keeps these maps in
memory, but reloads them whenever they change on disk. You could make
the backend produce this rewrite map and push a new one on your apache
server whenever this changes.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message