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.

Reply via email to