Error 500 couldn't check access. Check your 'Require'

205 views
Skip to first unread message

Maxime Delorme

unread,
Feb 21, 2015, 12:55:14 PM2/21/15
to mod_auth_p...@googlegroups.com
I can access the authenticate page.
The first time, I'm well redirected to the sso server, I get my cookie and ticket
When I came back I got error;

In the apache conf I get require valid-user

==> error.log <==
[ mod_auth_pubtkt config ]
URI: /index.html
Filename: /home/apache/test.tennaxia.org/index.html
directory: /home/apache/test.tennaxia.org/
TKTAuthLoginURL: http://localhost:8080/login.php
TKTAuthTimeoutURL: http://localhost:8080/login.php?timeout=1
TKTAuthPostTimeoutURL: (null)
TKTAuthUnauthURL: http://localhost:8080/login.php?unauth=1
TKTAuthCookieName: auth_pubtkt
TKTAuthBackArgName: (null)
TKTAuthRefreshURL: (null)
TKTAuthBadIPURL: (null)
TKTAuthRequireSSL: 0
TKTAuthToken: xwiki
TKTAuthDebug: 3
TKTAuthFakeBasicAuth: -1

==> test.tennaxia.org_error.log <==
[Sat Feb 21 18:42:01 2015] [debug] mod_auth_pubtkt.c(405): [client 10.0.2.2] TKT cookie_match: found 'uid=mdelorme;cip=10.0.2.2;validuntil=1424625476;graceperiod=1424621876;tokens=bb,glpi,nagios,ocsinventory,phpldapadmin,phpmyadmin,sfdc,sfdc_conseil,trac_t3,xwiki;udata=;sig=MEUCIQCoj4mK+KldGG72JNJ3NIEe7RjPq1/Ye0+DAzgNCQCweAIgSS9usqdJwMAt819W9B237PNkKYqCTBW97CK7Ytj8DmI=', referer: http://localhost:8080/login.php?back=http%3a%2f%2flocalhost%3a8081%2findex.html
[Sat Feb 21 18:42:01 2015] [debug] mod_auth_pubtkt.c(497): [client 10.0.2.2] TKT validate_parse_ticket: tktval 'uid=mdelorme;cip=10.0.2.2;validuntil=1424625476;graceperiod=1424621876;tokens=bb,glpi,nagios,ocsinventory,phpldapadmin,phpmyadmin,sfdc,sfdc_conseil,trac_t3,xwiki;udata=', sig 'MEUCIQCoj4mK+KldGG72JNJ3NIEe7RjPq1/Ye0+DAzgNCQCweAIgSS9usqdJwMAt819W9B237PNkKYqCTBW97CK7Ytj8DmI=', referer: http://localhost:8080/login.php?back=http%3a%2f%2flocalhost%3a8081%2findex.html
[Sat Feb 21 18:42:01 2015] [debug] mod_auth_pubtkt.c(342): [client 10.0.2.2] TKT parse_ticket decoded ticket: uid mdelorme, cip 10.0.2.2, validuntil 1424625476, graceperiod 1424621876, tokens bb,glpi,nagios,ocsinventory,phpldapadmin,phpmyadmin,sfdc,sfdc_conseil,trac_t3,xwiki, udata , referer: http://localhost:8080/login.php?back=http%3a%2f%2flocalhost%3a8081%2findex.html
[Sat Feb 21 18:42:01 2015] [crit] [client 10.0.2.2] configuration error:  couldn't check access.  Check your 'Require' directive: /index.html, referer: http://localhost:8080/login.php?back=http%3a%2f%2flocalhost%3a8081%2findex.html

==> test.tennaxia.org_access.log <==
10.0.2.2 - mdelorme [21/Feb/2015:18:42:01 +0100] "GET /index.html HTTP/1.1" 500 538 "http://localhost:8080/login.php?back=http%3a%2f%2flocalhost%3a8081%2findex.html" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"


domain is "localhost", I am using vagrant for testing, so I access the page with localhost:8081 and the sso server is on localhost:8080

Any Idea ?
Any help would be very appreciate


Site @ : www.tennaxia.com


____________________________

          

Adoptez l'éco-attitude. N'imprimez ce mail que si cela est vraiment nécessaire !

Maxime Delorme

unread,
Feb 27, 2015, 12:20:36 PM2/27/15
to mod_auth_p...@googlegroups.com
After searching a lot
You need to have the "authz_user" module enable !
Please update the documentation
Reply all
Reply to author
Forward
0 new messages