Thanks for the tip! Looks like at the moment hardcoding '/static' is the only
way to solve the problem. Right?

On Mon, Sep 25, 2006 at 11:32:32AM +0200, Elvelind Grandin wrote:
> 
> as Neil says, the way to do this now in TG is by setting
> server.webpath. Note that there currently is a bug with webpath and
> static content, see http://trac.turbogears.org/turbogears/ticket/1016
> 
> On 9/25/06, Timur Izhbulatov <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I would like to run my TG application behind Apache httpd. In order to
> > do this I'm trying to use the following rewrite rule:
> >
> > RewriteRule ^/myapp(.*) http://127.0.0.1:8080$1 [P]
> >
> > The problem is that TG doesn't know its root is at /myapp and all absolute 
> > URIs
> > are broken.
> >
> > The solution which comes first is to mount the application on /myapp (BTW,
> > how?).
> >
> > Are there any other ways?
> >
> > Thanks in advance,

-- 
Timur Izhbulatov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:[EMAIL PROTECTED]
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.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