Jamie's got a lot of stuff down this alley. http://jamiekrug.com/blog/index.cfm/apache
There's ways that wouldn't be too painful. And then there's always the horrible but workable solution of doing rewriting on the servlet side. Kind of a shame if you've got apache in front, but it would probably work (URLRewriteFilter). :Den -- To reform means to shatter one form and to create another; but the two sides of this act are not always equally intended nor equally successful. George Santayana On Thu, Apr 28, 2011 at 12:54 PM, Jari Ketola wrote: > On Thursday, April 28, 2011 9:24:22 PM UTC+3, Peter J. Farrell wrote: >> >> Have you thought of using symlinks instead trying to alias things? > > Thank you for the idea. Actually we have used symlinks in the past in > similar cases, but it isn't "quite" as convenient when dealing with > thousands of dynamic blog names (for instance - we use AliasMatch in a > number of different scenarios) across a number of load balanced backends. > > It seems we'll just have to suck it up and adapt the code to working with > URL parameters instead. I.e. change > > AliasMatch ^/blog/([a-z0-9_\-]+)/(.*)$ /www/blog/$2 > > to > > RewriteRule ^/blog/([a-z0-9_\-]+)/(.*)$ /www/blog/$2?blogname=$1 [PT] > > I guess that's not too bad. > > Jari > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - http://groups.google.com/group/openbd?hl=en > -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
