[Nitro] Apache question

Judson Lester nyarly at gmail.com
Wed Nov 28 15:04:06 EST 2007


On Nov 8, 2007 8:17 AM, George Moschovitis <george.moschovitis at gmail.com>
wrote:

> Has this been solved?
>
>
> nope,
>

Hey, I'm not dead!  And I know Apache pretty well.  If, in the face of a
Nitro solution, you still want an Apache one, I humbly present (cribbed and
munged from their docco):

RewriteEngine On

RewriteMap lowercase int:tolower

RewriteCond %{lowercase:%{HTTP_HOST}} !^www.mysite.com$
RewriteCond %{lowercase:%{HTTP_HOST}} ^([^.]*)\.mysite.com$
RewriteRule ^/(.*)$ http://www.mysite.com/view/%1/$1 [R]

Judson
-- 
Your subnet is currently 169.254.0.0/16.  You are likely to be eaten by a
grue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20071128/a7c0eab3/attachment.html 


More information about the Nitro-general mailing list