Hi, Sean.

I appreciate your help, and that's exactly what I had in mind.

So, I think I know how to get this to work, but could you just confirm
it for me? What I'm thinking is that I'd have to edit the .htaccess
file on the root directory (which is Radiant's public directory) and
make Apache bypass the rewriting for this directory. Something like:

# myRadiantApp/public/.htaccess:
RewriteCond %{REQUEST_URI} ^/myOtherApp*
RewriteRule .* - [L]

And then the .htaccess file inside /myOtherApp would catch those
requests and use its own rewriting rules to make everything work.

Is this how that's supposed to work? I imagine I might have to tweak
it here and there a little bit, but do you think this is generally how
it should work?

Thank you again (both for Radiant and for the help),
Marcelo.

On 10/27/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
> Marcelo,
>
> If you don't require any integration between Radiant and your other
> applications, the proper way to do it would be in your webserver
> configuration, with rewrite rules, perhaps.  Then your apps don't need
> to necessarily know about each other.  This is the way we did it at
> KCKCC, with Litespeed web server.  For example:
>
> http://kckcc.edu/ (Radiant)
> http://kckcc.edu/college-support-services/buildings-and-grounds/events/
> (A room reservation calendar, separate Rails app)
> http://kckcc.edu/library/morgue (A journal index Rails app)
> http://kckcc.edu/academics/class-schedules (The POST location of the
> form is a Perl script on another box, through proxy)
>
> As you can see, there are lots of ways to make your apps look integrated
> into your main site.
>
> Sean
>
> Marcelo Alvim wrote:
> > Hey, guys.
> >
> > I am considering using Radiant to run my site, since I just love its
> > simplicity and extensibility. This is a great product, thank you for
> > writing it!
> >
> > So here's my question: What if I want to use Radiant to run the root
> > of my site, but I want to have different apps in it, running from
> > subdirectories / subdomains?
> >
> > I'll try to explain a bit better:
> >
> > Say I install Radiant in my site, at http://www.example.com/. I manage
> > my blog and static pages from Radiant, and everything is beautiful.
> > Then I want to write a small Rails app of my own and host it in
> > http://www.example.com/myapp/.
> >
> > I figured I'd just have a symlink inside Radiant's public/ dir to
> > myapp/public, but I am not sure all the rewriting .htaccess magic will
> > "just work", since, as I understand it, Apache might think an address
> > like http://www.example.com/myapp/mycontroller/myaction/ is actually
> > something to be redirected to Radiant, and not to MyApp.
> >
> > Does anyone here have any experience with such settings?
> >
> > Thanks a lot, and keep up the great work!
> >
> > Marcelo.
> > _______________________________________________
> > 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
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to