rlfolden <[email protected]> writes: > Hi Johannes, > > Thanks for your reply. > > In this group, on Mar 19, Milan.M.Masek asked an almost identical > question to mine and finally concluded that he had to modify the > Python code in mwlib to get it to work. I am trying to find out if he > is correct.
The problem back then seems to be that his setup required http authentication. mwlib still can't do that. > > I've read the readme and there are some things that are not clear; I > am sure they are clear once you've done it but they are not obvious if > you haven't. we can now only guess what's not clear to you. > > In answer to your questions: Yes, HTTP has been disabled on the > MediaWiki website in favor of HTTPS. To get at our MediaWiki website, > you have to specify https://ourmediawiki. $wgCollectionMWServeURL was > not changed to https because the Render Server is NOT behind SSL, just > the MediaWiki website. To get to our Render Server you specify > http://ourrederserver:8899 https itself should not be a problem. I've just tested it with a self-signed certificate and stunnel (in my setup I had to set $wgServer to the https url). mw-zip does not even complain about the certificate (it probably should as every browser does, but that's another issue). One thing comes to mind: You need to install pyopenssl to make mw-zip work with https. > > Right now I use the mw-serve script to run the Render Server, so > Apache is not required and installing a certificate under Apache makes > no sense. > > Do I need to use mwlib.cgi to get it to work and thus use Apache? > no. > I really could use a sample setup. You had a working setup. If you only switched to https, you should be done by installing pyopenssl (and probably setting wgServer, but I consider that part of switching to https). Please try running mw-render on the command line in order to test your setup. And please stop using top-posting, it really makes things hard to follow. - Ralf -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
