[opencms-dev] providing a relative/absolute path for login.jsp (form based authentication)

Christian Steinert christian_steinert at web.de
Thu Sep 14 13:49:26 CEST 2006


Sakshi Aggarwal schrieb:
>
> I would like to specify a separate login page.. have done it using the
> <form-based> attribute.
>
> However, if I give a path in the xml file like "login.jsp", which is
> lying at the root of my site, this page does not work for all the
> subfolder authentications(looks for a login.jsp relative to the
> currently requested folder path).
>
> Is there some way that I can specify an absolute path for the
> site..either some additional parameter, or change the value itself,
> such that even if the authentication is required for a sub-folder,
> they would all refer the same " login.jsp".
> Thanks,
>
> Sakshi
>
Have you tried
    /login.jsp
instead?

christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060914/637bfc67/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060914/637bfc67/attachment.bin>


More information about the opencms-dev mailing list