On 22/02/06, sergio <[EMAIL PROTECTED]> wrote:
>
>
> On Feb 22, 2006, at 2:03 PM, Yannick wrote:
>
>
> - put it behind apache (fastcgi or mod_python if you can get it to
>
> work)
>
> thanks, yannick..
>
> i am working on this now.. running behind apache..
>
> i do have one question on this..
>
> i am reading the doco on this, and i have a slightly different setup..
>
> i need to run behind apache as the application needs to be accessed via a
> subdirectory of the initial site..
>
> the site i am working on has a base directory of:
>
> http://www.epiccenter4d.com
>
> right now, you can see the shell of the site here:
>
> http://www.epiccenter4d.com:8088/
>
> what i want to have is something like
>
> http://www.epiccenter4d.com/LearningOpps
>
> point to:
>
> http://www.epiccenter4d.com:8088/
>
> does that make sense?
>

Assuming you've got Apache's mod_rewrite and mod_proxy available
(which you probably will by default, though you might need to enable
mod_proxy), you can do this inside the VirtualHost entry for your
site...

RewriteEngine on
RewriteRule ^/LearningOpps/(.*) http://localhost:8088/$1 [L,P]

I'm only just getting started with TurboGears right now, so I'm not
sure if in some way you need to make it aware you're doing this so it
creates proper URL prefixes in your application or if it'll work it
out for you.

Hope that helps!

Steve
--
www.freakymousemats.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to