From: Andrew N. <and...@vi...> - 2007-08-17 21:45:10
|
> Quick question on the .htaccess file... > > Our 001 fields, for the most part, are OCLC, but we have a lot of other > starting fields (ebr, itof, net, etc) depending on which vendor is > providing the records. Currently the mod_rewrite rules are constrained > to oc[m|n] in the start of the id field. I suspect there's a reason for > this, but before I made a change to expand the characters, I wanted to > know the implications. For instance, is this > > RewriteRule ^([^/]+)/([a-zA-Z]+[0-9\s]+)$ > > preferable to > > RewriteRule ^([^/]+)/([.*]+)$ Yes, you will need to use the 1st one because the 2nd one will definitely b= reak the application :) Though you might want to use a * instead of a + after the [a-zA-Z] if any o= f your 001 fields do not contain a prefix. Andrew |