Sign In
Start Page | Recent Changes | All Pages | Orphan Pages | Junebug Help

Comparing version 3 and version 2

Using mod_proxy you can map a domain to a sub-directory of Radiant, this can be used to host multiple websites without having to modify Radiant. Your Radiant page tree should be set up like this:


 Site Root
 |
 +- radiantpoweredwebsite.com
 |  |
 |  +- Home
 |     |
 |     +- Subpage 1
 |     |
 |     +- Subpage 2
 |
 +- billa.co.nr
    |
    +- Home
       |
       +- Subpage 1
       |
       +- Subpage 2
With Apache and mod_proxy, you would set up domains like:

 
 ServerName www.radiantpoweredwebsite.com
 ProxyPass / http://www.yourradiantinstall.com/radiant/radiantpoweredwebsite-com/home/
 

 
 ServerName www.anotherwebsite.com
 ProxyPass / http://www.yourradiantinstall.com/radiant/anotherwebsite-com/home/
 
Note: while the above approach can work, the urls for tags such as link will "not be correct.":http://lists.radiantcms.org/pipermail/radiant/2007-December/007387.html An alternative approach is to use the "virtual_domains":http://svn.devjavu.com/lexbrains/radiant_extensions/virtual_domain/tags/rel_1-2-2/ extension. If using this extension, ProxyPass directly to the root of your radiant install, not the subdirectory. i.e.:

 
 ServerName www.anotherwebsite.com
 ProxyPass / http://www.yourradiantinstall.com/radiant
 

Back to Page