Hi Michael,
The URLs that RIFE generates never contain the hostname, so you can
easily prefix them with any domain that's appropriate for you by
setting a value in the template or even by just writing it as text at
the right location (ie. image src attribute)
Hope this helps,
Geert
On 23 Feb 2009, at 20:45, michaelCH wrote:
>
> Hello Geert!
>
> I have a question related to url generating.
> I am wondering is rife has the feature to add hostname to some
> dedicated path of the url.
>
> By example:
> 1. site images are located in myapp.com/images
> 2. in a standard way:
> 2.1. there is defined base href tag in html source
> 2.2. client fetches static content by invoking: GET myapp.com/images/
> pic1.jpg
> 3. Using described feature it should work as below:
> 3.1. rife exchanges /images pattern in the template to
> static.myapp.com/images
> 3.1 client fetches static content by invoking: GET static.myapp.com/
> images/pic1.jpg
>
> I am really appraciate your answer,
--
Geert Bevin
Terracotta -
http://www.terracotta.orgUwyn "Use what you need" -
http://uwyn.comRIFE Java application framework -
http://rifers.orgFlytecase Band -
http://flytecase.beMusic and words -
http://gbevin.com--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to
rife-users@...
To unsubscribe from this group, send email to
rife-users+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/rife-users?hl=en-~----------~----~----~----~------~----~------~--~---