You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2006/12/22 00:31:29 UTC

[Httpd Wiki] Update of "Recipes/RailsLoader" by Bob

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by Bob:
http://wiki.apache.org/httpd/Recipes/RailsLoader

------------------------------------------------------------------------------
    AllowOverride None
   </Location>
   RewriteEngine On
-  RewriteCond %{HTTP_HOST} (.+)\.example.com
+  RewriteCond %{HTTP_HOST} (.+)\.example\.com
   RewriteCond /www/dev/%1/public/%{REQUEST_URI} -f
-  RewriteRule ^(.*)$ /www/dev/%1/public/$1 [L]
+  RewriteRule ^/(.*)$ /www/dev/%1/public/$1 [L]
-  RewriteCond %{HTTP_HOST} (.+)\.example.com
+  RewriteCond %{HTTP_HOST} (.+)\.example\.com
-  RewriteRule ^(.*)$ /www/dev/%1/public/dispatch.fcgi/$1
+  RewriteRule ^/(.*)$ /www/dev/%1/public/dispatch.fcgi/$1
  </VirtualHost>
  }}}