[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-developers] Re: another sitemgr bug :(
From: |
totschnig . michael |
Subject: |
[Phpgroupware-developers] Re: another sitemgr bug :( |
Date: |
Fri, 31 Jan 2003 13:40:35 -0500 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Economic Science, i686-pc-linux) |
Patrick,
I knew what relocate does, but I did not understand how it does it. By
looking a bit more, I start having a slight idea, I spotted a problem
that might be related to the problem Dave experiences. at the end
relocate.php sets page_name and includes index.php. But there
page_name seems to get overriden by $GET_['page_name']. I do not know
why this was not a problem later. I commit a change to index.php to
protect page_name.
Michael
"Patrick Walsh (mr_e)" <address@hidden> a écrit:
> The relocate thing is unrelated to sitemgr-link. It is specific to the
> feature for allowing simple urls. So, for example, a page named XYZ can be
> accessed by either of these URLS:
>
> http://example.com/sitemgr/?page_name=XYZ
> http://example.com/sitemgr/XYZ/
>
> Relocate gets called whenever a 404 not found error is triggered. It
> then looks to see if the last directory is a page name and delivers a page
> or an error accordingly. It should work whether cookies are being used or
> not. I have tested it both ways (a while ago now) and it worked. I'm not
> sure what Dave is experiencing.
>
> Sitemgr-link simply allows for a toolbar icon within phpgw that links to
> the site...