hi. I have two sites, they are different web applications, using the
same database. I am using RIFE/CRUD on admin site, but on veli side I
am not using it. I read the link but I couldn't understand the 'serve
content' element clearly. will we create rife/cmf/serve_content.xml
file or is it supplied automatically by rife. If I will write the
serve_content.xml , what will I wrote in it.

After writing the code like below. Will all the contents be
automatically directed to /content/* url?

<globalexit name="SERVE_CONTENT" destid="SERVE_CONTENT"/>

<element id="SERVE_CONTENT" file="rife/cmf/serve_content.xml" url="/
content/*">
    <property name="datasource"><datasource><config param="DATASOURCE"/
></datasource></property>
</element>

Sorry, I am new to RIFE, so my questions can be weird to you.

On Sep 13, 11:30 pm, Geert Bevin <[EMAIL PROTECTED]> wrote:
> Are they using the same database and tables?
>
> When you say two site, are they different web applications? What do  
> you use on the /admin site, RIFE/Crud? Do you use it on veli?
>
> The CMF provides a 'serve content' element as described 
> here:http://rifers.org/wiki/display/RIFE/Content+management+framework
>
> You should at least be able to use that to stream out your content.
>
> HTH,
>
> Geert
>
> On 13 Sep 2008, at 17:18, harala wrote:
>
>
>
>
>
> > Hi, I have two sites, One's name is admin and the other one's name is
> > veli
>
> > I have images, I can reach that image using a url like this
>
> >http://localhost:8080/admin/dersane/content/dersane/1/image
>
> > But when I log in to veli site and not log in to admin site, I can not
> > reach that image. Is there a way to reach the image using a url like
> >http://localhost:8080/veli/dersane/content/dersane/1/imageor calling
> > an element? (I read the wiki but I couldn't get things done.I take a
> > 404 error.)
>
> > Thanks for the answers.
>
> --
> Geert Bevin
> Terracotta -http://www.terracotta.org
> Uwyn "Use what you need" -http://uwyn.com
> RIFE Java application framework -http://rifers.org
> Music 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to