public
Description: Code used in the Intellectual Scalability Session at RailsConf Europe
Homepage:
Clone URL: git://github.com/fcheung/rails_conf_demo.git
fcheung (author)
Mon Sep 08 03:23:33 -0700 2008
commit  3909e985d7a9611f58770dbfa914bc15f448b0e2
tree    a050842f39800fef044a983114c7ac43bb5f59ff
parent  0cb449a9fdbbc622589f29e41130215db6e4d64e
rails_conf_demo / demo.conf
100644 10 lines (8 sloc) 0.313 kb
1
2
3
4
5
6
7
8
9
10
NameVirtualHost *:80
 
<VirtualHost *:80>
    ServerName container.demo.local
    RewriteEngine On
RewriteRule ^/content/(.*)$ http://127.0.0.1:8001/$1 [P,QSA,L]
RewriteRule ^/comment/(.*)$ http://127.0.0.1:8002/$1 [P,QSA,L]
    RewriteRule ^/(.*)$ http://127.0.0.1:8000%{REQUEST_URI} [P,QSA,L]
</VirtualHost>