Thanks for you answer, I found the solution myself.
No, the documentation is wrong and not updated.

The right thing to use is : servlet.servlet.context-path=/

It’s all in :
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a18e9b2f-da86-49d2-8247-b5731b6445cbn%40apereo.org?utm_medium=email&utm_source=footer



Le lun. 14 août 2023 à 18:37, Ray Bon <[email protected]> a écrit :

> Julien,
>
> This sounds like a tomcat config issue (I have not used embedded tomcat).
> Maybe a config on this page
> https://apereo.github.io/cas/6.6.x/installation/Configuring-Servlet-Container-Embedded-Tomcat.html
>
> Ray
>
> On Fri, 2023-08-11 at 08:53 -0700, Julien Weillaert wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
>
> Hi !
>
> I use Apereo cas solution 6.6.10 successfully with the tomcat embedded.
> It works great, but I never find a way to change the prefix in the url,
> for example :
>
> https://server-ncas.i-wel.fr/login
>
> instead of :
>
> https://server-ncas.i-wel.fr/*cas*/login
>
> I put this parameters in my cas.properties :
> cas.server.name=https://server-ncas.i-wel.fr
> cas.server.prefix=
> cas.host.name: cas
>
> But it continue to work only with :
> https://server-ncas.i-wel.fr/*cas*/login
>
> The other url give me a 404 not found.
> And If I call https://server-ncas.i-wel.fr -> it redirects me to
> /cas/login
>
> The problem have been already posted here a few month ago, but no
> solutions have been found.
>
> I could use an external tomcat with some rewriting rule, but I don't want
> to, the embedded tomcat is much more simpler, and the settings should work.
>
> I also tried :
> cas.server.prefix=/
> cas.server.prefix=/test
> cas.server.prefix=https://server-ncas.i-wel.fr/
> cas.server.prefix=https://server-ncas.i-wel.fr/test
> But same thing, does not change anything, always cas.
>
>
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/afdfcd5c357dac7fee72b91220220152a9a69d07.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/afdfcd5c357dac7fee72b91220220152a9a69d07.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CACcZFmikqSaHyhjLNhzwa_g9-sAnT9XfMyQT_5QCt_pMh3Vp2Q%40mail.gmail.com.

Reply via email to