28 Sep
2011
28 Sep
'11
6:14 p.m.
Hi, On Wed, Sep 28, 2011 at 6:54 PM, Assaf Gordon <gordon@cshl.edu> wrote:
What do I need to change in order for the static files to be served from "http://server.cshl.edu/app1/images" instead of "http://server.cshl.edu/images" (which is the way templates will be rendered using "request.uri_base" and "request.uri_for" ?
Inside the server.cshl.edu Apache VirtualHost configuration block, try this: Alias /app1/images /path/to/app1/public/images Alias /app2/images /path/to/app2/public/images Best regards, -- Pedro Melo @pedromelo http://www.simplicidade.org/ http://about.me/melo xmpp:melo@simplicidade.org mailto:melo@simplicidade.org