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

Reply via email to