Dear, The tomcat is already to listen on all IPs. But the CAS configuration must be specified the URLs of edu.yale.its.tp.cas.client.filter.validateUrl, edu.yale.its.tp.cas.client.filter.proxyCallbackUrl, etc in the web.xml
Example: the uPortal quick-start version 3.1.1, the localhost cas configuration in \uPortal-3.1.1-quick-start\apache-tomcat-6.0.18\webapps\uPortal\WEB-INF\web.xml is: <filter-name>CAS Validate Filter</filter-name> <filter-class>edu.yale.its.tp.cas.client.filter.CASValidateFilter</filter-class> - <init-param> <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name> <param-value>http://localhost:8080/cas/serviceValidate</param-value> </init-param> - <init-param> <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name> <param-value>localhost:8080</param-value> </init-param> - <init-param> <param-name>edu.yale.its.tp.cas.client.filter.proxyCallbackUrl</param-name> <param-value>http://localhost:8080/uPortal/CasProxyServlet</param-value> </init-param> So, link of "Sign In with CAS" button is "http://localhost:8080/cas/login?service=http://localhost:8080/uPortal/Login". If the remote user browses the uPortal server with name "myserver" or the remote user browses the uPortal by IP "192.168.1.1". The link "http://myserver:8080/cas/login?service=http://localhost:8080/uPortal/Login" or "http://192.16.8.1.1:8080/cas/login?service=http://localhost:8080/uPortal/Login" don't work. Thach On Mon, Nov 23, 2009 at 7:33 PM, Eric Dalquist <[email protected]> wrote: > Could you please direct questions of this nature to the uportal-user list? > > I believe the configuration to listen on all IPs is done in tomcat: > http://tomcat.apache.org/tomcat-6.0-doc/index.html > > Thach Le wrote: >> >> Dear, >> >> I found there are many fixed values in CAS configuration (file web.xml >> of uPortal). >> >> I have run the uPortal + CAS with default URL: >> http://myserver:8080/uPortal (URL of cas: http://myserver:8080/cas). >> >> Now I want to configure the above uPortal in order to being browse by >> http://192.168.1.1:8080/uPortal. >> >> (192.168.1.1 is the IP address of myserver). >> >> How can I do? >> >> Thach Le >> >> > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
