My problem:

For example:
- login-page: /login
- protected-pages: /protected/*

If a person (who isn't logged-in) attempts to view a protected page, lets say "/protected/secrets", then he is redirected to the login -page. The path in the location-bar (the bar in your browser, where the uri is displayed) is "/protected/secrets", but I want the path to be "/login".

How can I achieve this "behaviour?

Should be very easy. Just use sendPage to send the protected stuff and use redirectTo to do a visible redirect to the login page.

Note that sendPage can only handle internal pipes, so these simply can't be 
revealed to the user.. :-)

Cheers,
Geert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to