[Radiant] please help: How do I set the default URL path with multiple installs?

Bodhi bodhi at theplant.jp
Mon Nov 13 19:30:04 CST 2006


On 14/11/2006, at 8:13 AM, jlopez at hpcf.upr.edu wrote:

> Hi,
>
> I found this by John Long on the ruby archive
> http://www.ruby-forum.com/topic/82446
>
> He wrote:
> "I wouldn't recommend running Radiant in a sub-directory. It isn't
> designed with this in mind.If you'd like to just have Radiant serve  
> files
> from a specific directory, the simplest thing would be to change the
> rewrite rules inthe .htaccess file (or equivalent for your Web  
> server).
> What exactly are you trying to do? and why?"
>
> What I'm trying to do is to set two different websites like this:
>
> mydomain.org/app1
> mydomain.org/app2

For a really simple (but not the best) solution, you could make a  
root-page for each app with the same slug as the subdirectory. eg.  
for app1:

app1/
   +-- home/
        +-- about/
        +-- contact/

etc... One problem that you might have is if you use <r:find>, then  
it would start to get a little bit messy. But after thinking for a  
bit, it might make more sense for the people that manage the site  
arent really technical... keep us posted on what you come up with :)

bodhi



More information about the Radiant mailing list