I'm trying to make routes_out put all requests for static content on a static subdomain, e.g. domain.com/static/file.css -> static.domain.com/static/file.css
The following is the closest I've come, but it doesn't work- it produces
static.<ip address>/static/file.css. What am I doing wrong?
routes_out = (
(r'(?P<domain>[^/]+):/$a/static/(?P<any>.*)', r
'http://static.\g<domain>/$a/static/\g<any>'),
)

