I don't see that you have the following in your config (from the Plone docs):

<VirtualHost *>
    ServerAlias   *
    ServerRoot    /var/www
    ServerSignature On
</VirtualHost>

Have you tried adding something like this? Without it, I'd expect the
proxy to just keep looping. This happens on my test machine.

You may still have some mod_auth_cas issues (I'd recommend upgrading
to v1.1), but this needs to work first. It may be useful to comment
out all the mod_auth_cas directives and make sure it works without
auth as expected.


On 23 May 2017 at 17:03, Pooya E <[email protected]> wrote:
> I think I know where the problem is... I need a ProxyPassReverse for the
> rewrite rule I have since it is redirecting with an address that has 8080
> appended.
> What do you think? If so, how would you write the ProxyPassReverse for that
> rewrite rule?
>
> On Monday, May 22, 2017 at 5:49:09 PM UTC-4, David Hawes wrote:
>>
>> What do the mod_auth_cas debug logs show?
>>
>> Can you post your full Apache configuration?
>>
>> What version of Apache?
>>
>> What version of mod_auth_cas?
>>
>> On 22 May 2017 at 07:56, Pooya Eslami <[email protected]> wrote:
>> > Logs show going back and forth between site and cas...
>> >
>> > $ tail -f access.log
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET / HTTP/1.1" 302
>> > 16773 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
>> > Gecko/20100101 Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET
>> > /?ticket=ST-8490389-1QQZghQr4Mq4Y1d0DWtX-cas HTTP/1.1" 302 587 "-"
>> > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101
>> > Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET / HTTP/1.1" 302
>> > 16773 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
>> > Gecko/20100101 Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET
>> > /?ticket=ST-8490390-gdcqMZ4hYqannRw4WZRr-cas HTTP/1.1" 302 587 "-"
>> > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101
>> > Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET / HTTP/1.1" 302
>> > 16773 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
>> > Gecko/20100101 Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET
>> > /?ticket=ST-8490391-dEHGGYgNNknusb4XBwFl-cas HTTP/1.1" 302 587 "-"
>> > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101
>> > Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET / HTTP/1.1" 302
>> > 16773 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
>> > Gecko/20100101 Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET
>> > /?ticket=ST-8490392-tJUb7ZHBoE3UQeLBxIe4-cas HTTP/1.1" 302 587 "-"
>> > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101
>> > Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET / HTTP/1.1" 302
>> > 16773 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
>> > Gecko/20100101 Firefox/52.0"
>> >
>> > 10.55.1.102 - USER567 [18/May/2017:20:39:33 +0000] "GET
>> > /?ticket=ST-8490393-4oRlIYjdA9civwc149Nf-cas HTTP/1.1" 302 587 "-"
>> > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101
>> > Firefox/52.0"
>> >
>> >
>> > This goes on forever
>> >
>> > On Friday, May 19, 2017 at 10:36:25 PM UTC-4, David Hawes wrote:
>> >>
>> >> On 18 May 2017 at 17:40, Pooya Eslami <[email protected]> wrote:
>> >> > Same if that line is deleted or set to /
>> >> > I keep getting sent to cas and redirected back to site.
>> >> > I would like to try RewriteCond, but where would I stop?! If I stop
>> >> > at
>> >> > cas
>> >> > it will not redirect to cas, if stop after site, it will not redirect
>> >> > to
>> >> > cas...
>> >> > See my dilemma?
>> >>
>> >> Do you have another VirtualHost for 8080?
>> >>
>> >> Your config works fine for me on Apache 2.4.17 and mod_auth_cas master
>> >> provided I have a separate VirtualHost for 8080.
>> >>
>> >> What do your logs show?
>> >>
>> >> --
>> >> - CAS gitter chatroom: https://gitter.im/apereo/cas
>> >> - CAS mailing list guidelines:
>> >> https://apereo.github.io/cas/Mailing-Lists.html
>> >> - CAS documentation website: https://apereo.github.io/cas
>> >> - CAS project website: https://github.com/apereo/cas
>> >> ---
>> >> 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/CAAgu-wBDn-eWAt7f2o1tNQvpTBc%2B1xghVnE1Mf7xuoc9N-kNtg%40mail.gmail.com.
>>
>> --
>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>> - CAS mailing list guidelines:
>> https://apereo.github.io/cas/Mailing-Lists.html
>> - CAS documentation website: https://apereo.github.io/cas
>> - CAS project website: https://github.com/apereo/cas
>> ---
>> 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/CAAgu-wA-GN6gjcfbUsqfOm2t3MBGZF48sw8iN639TyTbvG%2BTBg%40mail.gmail.com.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/CAAgu-wB%3DWhRo5tCLtdnkzLeX6_mnpQi5StNgK2nqPJUzXB5eYQ%40mail.gmail.com.

Reply via email to