On 07/11/2007, Peter Bowyer <[EMAIL PROTECTED]> wrote: > > 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.
Looks like an unmanageable mess to me. I must prefer a database table, much easier to manage, especially if the short code is translated into a integer. -- > 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]/ > -- Please email me back if you need any more help. Brian Butterworth www.ukfree.tv

