We’ve recently built a CMS app that will host quite a few sites, the
sites can currently be accessed as follows:
I’ve created an Apache vhost to handle ‘siteone.com’, pointed it to the
‘public’ folder of the app and it uses the following rewrite rule to
access the correct path:
RewriteRule ^/$ http://siteone.com/siteone/home
How does mod_rewrite see ‘^/siteone/home’ in a rails app? As a query
Any advice/assistance would be much appreciated.