MOD_AUTH_CAS: connect() failed to (null):0

View: New views
2 Messages — Rating Filter:   Alert me  

MOD_AUTH_CAS: connect() failed to (null):0

by halsafar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay I got mod_auth_cas built in Windows for Apache2.2.  It loads the module, my secured page redirects just fine to the cas server I want to use.  I can login, it bounces back and I get a 401 "Authorization Required".  I check the apache2 error.log to see this: MOD_AUTH_CAS: connect() failed to (null):0

Any help?

Here is my httpd.conf file for the directory I am planning to secure:

Listen 8080
CASDebug On
CASCookiePath c:/temp/
CASLoginURL https://www.cs.usask.ca/cas/login
CASProxyValidateURL https://www.cs.usask.ca/cas/proxyValidate

NameVirtualHost *:8080
<VirtualHost *:8080>
        <Location /secure>
                AuthType CAS
                AuthName "CAS"
                Require valid-user
        </Location>
</VirtualHost>

Re: MOD_AUTH_CAS: connect() failed to (null):0

by Phil Ames-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
There is no CASValidateURL specified.  CASProxyValidateURL is a
'placeholder' directive, the functionality behind it does not exist.
Setting that variable to the appropriate CAS URL should make
everything work.

-Phil

On Fri, Jun 27, 2008 at 3:39 PM, halsafar <shinhalsafar@...> wrote:

>
> Okay I got mod_auth_cas built in Windows for Apache2.2.  It loads the module,
> my secured page redirects just fine to the cas server I want to use.  I can
> login, it bounces back and I get a 401 "Authorization Required".  I check
> the apache2 error.log to see this: MOD_AUTH_CAS: connect() failed to
> (null):0
>
> Any help?
>
> Here is my httpd.conf file for the directory I am planning to secure:
>
> Listen 8080
> CASDebug On
> CASCookiePath c:/temp/
> CASLoginURL https://www.cs.usask.ca/cas/login
> CASProxyValidateURL https://www.cs.usask.ca/cas/proxyValidate
>
> NameVirtualHost *:8080
> <VirtualHost *:8080>
>        <Location /secure>
>                AuthType CAS
>                AuthName "CAS"
>                Require valid-user
>        </Location>
> </VirtualHost>
> --
> View this message in context: http://www.nabble.com/MOD_AUTH_CAS%3A-connect%28%29-failed-to-%28null%29%3A0-tp18162442p18162442.html
> Sent from the CAS Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Yale CAS mailing list
> cas@...
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas
LightInTheBox - Buy quality products at wholesale price