I worked it out - should have used Redirect, not Alias Redirect /static/ http://static.remixable.tv/
On Mar 15, 8:58 pm, ".M." <[email protected]> wrote: > Using Apache2 , Turbogears 1 > > I was trying this config to route /static to AWS > > Any thoughts? > > <VirtualHost *> > ServerName remixable.tv > ServerAdmin [email protected] > DocumentRoot /usr/lib/python2.4/site-packages/remixabletv-1.5- > py2.4.egg/remixabletv > Errorlog /var/log/apache2/rtv-error_log > Customlog /var/log/apache2/rtv-access_log common > UseCanonicalName Off > ServerSignature Off > AddDefaultCharset utf-8 > > <Proxy *> > AddDefaultCharset utf-8 > Order allow,deny > Allow from all > </Proxy> > > ProxyPreserveHost On > ProxyRequests Off > ProxyPass /icons/ ! > ProxyPass /favicon.ico ! > ProxyPass /static/ ! > ProxyPass /http://127.0.0.1:8082/ > ProxyPassReverse /http://127.0.0.1:8082/ > > Alias /static/http://static.remixable.tv/ > </VirtualHost> > > On Mar 14, 1:22 am, Lukasz Szybalski <[email protected]> wrote: > > > On Thu, Mar 12, 2009 at 11:31 PM, MOD Films <[email protected]> wrote: > > > > Hi > > > > Is it possible to configure TG1 to serve static files from Amazon > > > Cloudfront? > > > > I can't see how to specify that /static points to another server. > > > What version? > > > If deployed via modwsgi and apache: > > > Alias /static /usr/local/turbogears/myfirstapp/myfirstapp/static > > > you would have to look up how to do an alias with different site: > > Alias /static http:/amazon.com/...../file.gz > > > Lucas --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

