[play-framework] Redirect staticDir:public to a sub domain

80 views
Skip to first unread message

Roch Delsalle

unread,
May 12, 2010, 10:20:16 AM5/12/10
to play-fr...@googlegroups.com
Hi,
I would like to redirect my staticDir:public to a sub domain ex: static.mydomain.com since it's not hosted on the same server.
Is it possible to do that?

Thanks
--
Roch Delsalle
+33 6 99 11 14 22

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

Guillaume Bort

unread,
May 12, 2010, 1:16:32 PM5/12/10
to play-fr...@googlegroups.com
Not directly with native syntax. @{..} only work for relative or
absolute URLs on the same domain.

Roch Delsalle

unread,
May 12, 2010, 1:33:17 PM5/12/10
to play-fr...@googlegroups.com
Ok thanks for that information,
It would be a nice feature for websites using CDN, I'm going to add a bug report.
Reply all
Reply to author
Forward
0 new messages