Bill Barnard wrote:
I'm working on a pair of sites for a client that will be on two
subdomains and hosted on a shared host (Dreamhost). I thought the
multi-site extension would be ideal for that but have not yet figured
out how to do this under Phusion Passenger, the preferred Rails
deployment method at DH.
I did a similar thing for another client using the FastCGI method; I
created a mirror public directory for the dev host; the dev subdomain
points to that mirrored directory. The mirror dir contains mostly links
back into the public dir, except for the .htaccess which has different
mod_rewrite rules. I tried doing the same thing under Passenger without
success.
Has anyone done anything similar under Passenger? I'm searching the
Passenger groups & docs but have not yet found anything useful.
FWIW: the Passenger docs say that mod_rewrite is overridden/ignored unless
you explicitly turn it on with some httpd.conf keyword that I can't
remember. However, I saw a post somewhere once upon a time that claimed
that rewrite rules simply didn't work in the .htaccess, with or without that
keyword - but that they did work in httpd.conf itself.
I'm successfully using a rewrite rule in httpd.conf for static caching:
RewriteEngine On
RewriteRule ^([^.]+)$ /cache/$1.html [QSA]
That help any? What failed under Passenger?
Thanks!
Bill
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant