[Moin-user] About moinmoin cas authentication

宋辉 creasyimm at gmail.com
Tue Dec 13 08:38:19 EST 2011


 Hi,all

Recently, I want to make moinmoin(1.9.3,single wiki,installed ok) work wiht
a cas server(rubycas server).
Here is my problem:I modified related file(cas.py at right path,and
wikiconfig.py is modified correctly).
When I try to login form cas server, I found out the redirect url is
somehow not in the right fomat。

 192.168.27.4 is wiki server
192.168.25.11 is cas server
Here is information from cas server
-----------------------------------------------------------------------------------------------------------
*bogon - - [13/Dec/2011:19:29:23 CST] "GET
/cas/login?service=http%3A%2F%2F192.168.27.4%2F%252FLanguageSetup HTTP/1.1"
200 2473
**http://192.168.27.4/* <http://192.168.27.4/>* ->
/cas/login?service=http%3A%2F%2F192.168.27.4%2F%252FLanguageSetup
bogon - - [13/Dec/2011:19:29:29 CST] "POST /cas/login HTTP/1.1" 303 0
**http://192.168.25.11/cas/login?service=http%3A%2F%2F192.168.27.4%2F%252F
LanguageSetup*<http://192.168.25.11/cas/login?service=http%3A%2F%2F192.168.27.4%2F%252FLanguageSetup>
* -> /cas/login*
-----------------------------------------------------------------------------------------------------------

After the cas server redirect back to wiki page,instead of showing the page
before login,some thing like this

-----------------------------------------------------------------------------------------------------------
 *Not Found*

*The requested URL //LanguageSetup was not found on this server.*

-----------------------------------------------------------------------------------------------------------

I think the service string was wrong,one more ‘/’comes out;
I am not familiar with python language, Please help me~!

Thanks a lot~!

Best Regards!!!


2011-12-13
------------------------------
creasy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20111213/14c3c95d/attachment.html>


More information about the Moin-user mailing list