On 07/11/2007, Brian Butterworth <[EMAIL PROTECTED]> wrote:
> On 07/11/2007, Noah Slater <[EMAIL PROTECTED]> wrote:
> > > Depending on volumes and volatility of data, it may be 'insane' to
> > > have a database connection, query and teardown for every redirect,
> > > too. What works on the bench doesn't always work in the field...
> >
> > I would recommend against any method that involved network I/O for Apache.
> >
> > If you have large volumes of redirects that cannot be satisfied with a
> > few simple regular expressions and mod_rewrite the obvious way forward
> > is batch generated (from the DB) apache config files placed in a
> > directory and sourced by the main apache.conf.
>
> That wouldn't be very dynamic, would it?  You would have to restart the
> servers everytime you wanted to create a new one!

RewriteMap is your friend.

-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/[email protected]/

Reply via email to