|
»
« Return to Thread: Content management framework
Re: Content management framework
Hi Harala,
First off, are you intending to restrict viewing of the image? If not,
then you should be able to remove whatever security requirements and
then anyone will be able to view the image, including users who aren't
logged in.
A bit of clarification: do the same credentials work for each site? For
example, does a veli user have access to both the admin _and_ veli
sites, or just the veli site?
If so, then one thing you can do is duplicate your authentication
element for both sites. To do this:
* configure each site's authentication element to use an identical
datasource. You can do this by specifying the datasource property in
the authentication element.
<property
name="datasource"><datasource>auth_datasource</datasource></property>
* make sure the sites are hosted on the same domain. It looks like the
cookie path is always set to '/', so just hosting the sites on the same
domain should be sufficient.
Reference:
http://rifers.org/wiki/display/RIFE/Remembering+users+between+authentication+sessions
All the best,
Josh
--
Joshua Hansen
Up Bear Enterprises
(541) 760-7685
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/image or calling
> an element? (I read the wiki but I couldn't get things done.I take a
> 404 error.)
>
> Thanks for the answers.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
« Return to Thread: Content management framework
| Free embeddable forum powered by Nabble | Forum Help |
