[ANN] Virtual Domain Extension 1.2.2

It looks like this extension was no longer maintained and was
incompatible with Radiant 0.6.4, so I’ve packaged up a fixed version.

http://svn.devjavu.com/lexbrains/radiant_extensions/virtual_domain/tags/rel_1-2-2/

ABOUT VIRTUAL DOMAINS
You can host multiple websites from a single instance of Radiant by
matching the Host: portion of the request headers against a regular
expression you specify. You need to set your homepage to be a
‘Virtual Domain’ page type, and its immediate children will be used as
the roots of the different sites you host. Full instructions are in
the README.

Thanks
-todd[1]

I am glad to see that someone has taken up this extension. It is
really nice to support several sites with one installation of Radiant.
I actually have several sites doing this.

One thing that has always bugged me was the caching problem. Usually,
when saving the page, the cache is cleared. Because of the virtual
hosts in the cache path, this is not the case when using this plugin.
I just dove into the plugin to see if there is any way to change this,
but I don’t see any way to get the hostname when editing the page.
Short of clearing the whole cache, not just the page being editted,
does anyone have any ideas how you might do thisß

Keith

On 12/13/07, Keith B. [email protected] wrote:

does anyone have any ideas how you might do thisß

Keith

I think all you would need to do is get the slug of the page
immediately below the homepage (virtual domain page). That should
match the hostname of the site that the page lives on. Take a look at
VirtualDomainPage#site_map.

Feel free to contact me off-list for help with this.