Hi Hans

After publishing it says:

 wget "http://localhost:8380/myproj/mypub/live/test.html";
--18:07:18--  http://localhost:8380/myproj/mypub/live/test.html
           => `test.html'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8380... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [
<=>
] 5,394         --.--K/s

18:07:19 (627.70 KB/s) - `test.html' saved [5394]

Regards
Sac

On Sat, May 9, 2009 at 11:41 AM, Hans Koerber <[email protected]> wrote:

>  Hi Sac,
>
> it looks to me as if the page is redirected to the login page, which would
> make sense as this is exact how Lenya should behave since you are trying to
> get a page in "authoring".
> Try to publish this page and use the "live" version of that page instead
> with wget.
>
> Cheers,
> Hans.
>
>
> Am Freitag, den 08.05.2009, 19:27 +0530 schrieb sac sha:
>
>  Hi Rainer
>
> I am sorry if I am doing something wrong.
> Doing wget it says:
>
> *wget http://localhost:8380/myproj/mypub/authoring/test.html*
> *--19:19:38--  http://localhost:8380/myproj/mypub/authoring/test.html*
> *           => `test.html'*
> *Resolving localhost... 127.0.0.1*
> *Connecting to localhost|127.0.0.1|:8380... connected.*
> *HTTP request sent, awaiting response... 302 Moved Temporarily*
> *Location:
> http://localhost:8380/myproj/mypub/authoring/test.html?lenya.usecase=ac.login&referrerQueryString=[following]
> *
> *--19:19:38--
> http://localhost:8380/myproj/mypub/authoring/test.html?lenya.usecase=ac.login&referrerQueryString=
> *
> *           => `test.html?lenya.usecase=ac.login&referrerQueryString='*
> *Reusing existing connection to localhost:8380.*
> *HTTP request sent, awaiting response... 200 OK*
> *Length: unspecified [text/html]*
>
> *    [
> <=>
> ] 2,362         --.--K/s             *
>
> *19:19:38 (130.88 KB/s) -
> `test.html?lenya.usecase=ac.login&referrerQueryString=' saved [2362]*
>
>
> Dont think it specifies any redirection here.
> Regards
> Sac
>
>  On Fri, May 8, 2009 at 6:50 PM, Rainer Schöpf <
> [email protected]> wrote:
>
>  On Fri, 8 May 2009, sac sha wrote:
>
>  > I am facing a problem with redirect-uri. I am able to do a url
> redirection
>  > through pipeline by using <map:redirect-to>.
>  > The browser opens the redirected page but the url remains the same. It
> does
>  > not changes. I tried using attribute "permanent" but of no use.
>
>
>   Try wget instead of a browser to see exactly what is happening. Does the
> server
> send a HTTP 301 response if you are using the attribute "permanent"?
>
>  Rainer
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>

Reply via email to