Hi again,
I would like to have only one install of Radiant and its extensions,
but have multiple virtual hosts using it. But not as the Virtual Host
extension does: I want each website to use a different database so
each clients do not share the same admin! How should I do that? An
extension selecting the appropriate database according to the domain
name?
Sean told me that’s “partly the point of ‘instance mode’. You can
install the gem system-wide, and only check out the minimum of files
when you need a new site. Extensions currently have to be installed in
every instance you create, however.”
So is there a way to have the extensions installed one time in one
place? Like replacing the extensions directory with a symlink to a
unique place?
And I like the “minimum files checkout” idea but I’d love a no
checkout solution, then I could point my web server to only one place
and any domain pointing to the machine will use the main virtual host
configuration. The way I don’t even have to configure each domain
individually from the web server.
But maybe it will raise some issues like page caching? I have this
problem with a Rails application that is available as one unique
instance for hundreds of websites. And the content change for each
domain, so I can’t use page caching because pages would overlap each
others in the public/ folder, and I’m forced to use fragment caching.
Thanks!
Jonathan