Hi Thomas and All,
Really thanks for your help. We finally solved this problem. This is caused
by stupid me.
On Wed, Nov 4, 2009 at 11:46 PM, Thomas Waldmann <tw-pub...@gmx.de> wrote:
> > from MoinMoin.auth.sslclientcert import SSLClientCertAuth
> > auth = [SSLClientCertAuth(autocreate=['True'])]
>
Wrong syntax, it is autocreate=True.
>
Yes, and I put this in the wrong place. It should be put into the class
rather than outside. Correct this and it works.
>
> > At http.conf, I did the following configuration:
> > Alias /moin_static184/ "/var/www/mywiki/htdocs/"
>
> Please use 1.8.5.
>
> > WSGIScriptAlias /mywiki /var/www/mywiki/moin.wsgi
>
> So you are using mod_wsgi?
>
> > <Location /mywiki>
> > SetHandler python-program
> > # Add the path of your wiki directory
> > PythonPath "['/var/www/mywiki',
> > '/usr/local/lib/python2.4/site-packages'] + sys.path"
> > PythonHandler MoinMoin.request.request_modpython::Request.run
>
> Or do you use mod_python?
>
> mod_wsgi is recommended, you should kill everything relating to
> mod_python. SetHandler, PythonPath, PythonHandler is all mod_python.
>
> > I can access my wiki page with security http and see my DN shown in
> > the ssl_sccess.log. But the user profile can not be created
> > automatically.
> > Any idea about this? Thanks a lot.
>
> I don't use SSL client cert auth myself (and it might be one of the
> rather rarely used auth methods).
>
> Maybe you can increase logging level (see the auth debug logging
> configuration example we provide, see wiki/config/logging/...) and add
> some logging.debug("...") statements to the ssl client cert auth code
> (see MoinMoin/auth/...) as needed.
>
> If you find any specific problem there, join us on #moin so we can help
> with it. It is no big problem to fix something there in case it is
> wrong, as soon as you have detailled information about it.
>
>
>
BR,
Jhen-Wei
--
OPS Team, ASGC
Tel: +886-2-2789-8311
Fax: +886-2-2783-7653
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user