On Wed, Jun 4, 2008 at 12:00 PM, Josh Trutwin <[EMAIL PROTECTED]> wrote:
> We have a RewriteMap program that is kicked off via the following:
>
> RewriteMap smc_rewriter prg:/usr/share/php/rewriter.php
>
> This works well most of the time, but for heavy use it really can bog
> down as there is always only one of these programs running to handle
> all the requests.
>

I've looked at something similar recently in 2.0.x, where one of the
big recommendations was to make sure to limit the # of times per
request that you consult the map.  This means making the regex on your
rewriterule as explicit as possible, and capturing the results of the
rewritemap lookup in an environment variable whenever it's going to be
used/consulted more then once.

-- 
Eric Covener
[EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to