Hello,
This looks like you are deploying CAS to your own app container.
It will not work, because "server.xxxxxxx" properties are made for configuring a tomcat container embedded in the war.

Cheers,
Fiisch

On 02/15/2022 05:08 PM, Agustín Ezequiel Pereyra wrote:
Hello,

I want to deploy cas so it takes requests at http://myUrl.com/ instead of the default http://myUrl.com/cas.

According to the documentation, and this thread: https://groups.google.com/a/apereo.org/g/cas-user/c/ntVu5_b7TT8/m/wh3IL3qQCQAJ, setting the properties:
//
/                    cas.server.prefix=${cas.server.name}/
                    server.contextPath=//
/
/
Should be enough (if I got it wright). Yet I can't make it work. I'm testing with the basic cas-overlay, version 6.4.2. The only thing I customized is the cas.properties file, with the following lines:

/                cas.server.name=http://myUrl.com:8080/
/                cas.server.prefix=${cas.server.name}/
/                server.contextPath=/
                server.port=8080
                server.ssl.enabled=false
/
When I navigate to http://myUrl.com:8080/login I get a 404 error. But when I go to http://myUrl.com:8080/cas/login, I do get the login page. Do you know what I may be doing wrong?
--
- 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 cas-user+unsubscr...@apereo.org <mailto:cas-user+unsubscr...@apereo.org>. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/a18e9b2f-da86-49d2-8247-b5731b6445cbn%40apereo.org <https://groups.google.com/a/apereo.org/d/msgid/cas-user/a18e9b2f-da86-49d2-8247-b5731b6445cbn%40apereo.org?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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5c2b880b-6eaf-5302-7266-a8d399dc9590%40gmail.com.

Reply via email to