Brian Hirt writes:
> Once everything is running on the 
> new mod perl, i shut down the original mod perl application.  There is 
> about 0.5 seconds of lag while the proxy reloads the rules.

We use proxies, but instead of modifying the proxy config, we use a
Rewrite rule of the form:

    RewriteMap maps txt:/etc/httpd.maps
    RewriteRule ^(.*) http://${maps:appserver}$1 [proxy]

When we release, we edit the /etc/httpd.maps file to point to a
different port or machine.

    appserver foo.com:9999

mod_rewrite rereads (or checks mtime of) the file on every request so
the change takes effect immediately.

Rob

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to