On Sep 13, 9:19 pm, Josh Hansen <[EMAIL PROTECTED]> wrote:
> 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?

No they veli can not access to admin site. So the hints wont work for
me :(
>
> 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+authent...
>
> 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/imageor calling
> > an element? (I read the wiki but I couldn't get things done.I take a
> > 404 error.)
>
> > Thanks for the answers.

I used the wiki page below. I wrote a code very similar to ViewNews
class that is told in wiki. I called the element, the page was shown
but the image not. I right clicked on the image and sayed open in new
tab. Then I saw a 404 error while showing only the image on the page.
I don't know what I did wrong.

http://rifers.org/wiki/display/RIFE/Content+management+framework

I thouhgt that my veli.xml file is wrong configured. I am sending you
a part of my configuration.

        <globalexit name="home" destid="Home"/>

        <arrival destid="Home"/>

        <element id="Home" url="/home" extends="rife/template/print.xml" >
                <property name="name">veli.home</property>
        </element>

Thanks for reply.
--~--~---------~--~----~------------~-------~--~----~
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