You can use an HTML <BASE> tag to prepend the host name but it affects 
everything so be careful about subsequent FORM tags.

We dynamically re-write all of our generated URLs once CDN is enabled.

Karl

On Jun 8, 2011, at 1:53 PM, Johnny Miller wrote:

> Hi,
> 
> I was thinking of moving all my web server resources to a CDN.  Does anyone 
> know if there is a simple way to prepend a domain name to the web server 
> resource while in deployment mode?
> 
> i.e. instead of the resource being return as 
> /WebObjects/App.woa/Contents/WebServerResources/... it is returned as 
> http://cdn.mysite.com/WebObjects/App.woa/Contents/WebServerResources/...
> 
> Thanks in advance,
> 
> Johnny Miller
> Kahalawai Media Corp
> http://www.kahalawai.com
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/kgretton%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to