On 23.10.2008, at 16:35, [EMAIL PROTECTED] wrote:
> hm, i have a running mw installation in the console, but i don't get
> the thing with the mw-serve.cgi.

If you meant to say "mwlib.cgi", that script is located in the cgi-bin  
directory in the mwlib distribution (when downloaded as tar.gz file  
and unpacked). It's a CGI script meant to be run by some webserver  
like Apache/lighttpd/nginx etc.

The (executable) script mw-serve which is installed by easy_install/ 
setup.py is capable to serve HTTP itself though (in addition to serve  
the protocols FastCGI and SCGI, which need a separate webserver, too),  
and doesn't require a separate webserver.

> what should be found, or where should
> the directory http:/../mw-serve/ point to?

If you're running mw-serve with the HTTP protocol (the default) and  
the default port (8899), you can set $wgCollectionMWServeURL to 
'http://yourhostname:8899/' 
.

> where would you recommend to start for searching for info in this
> direction?

This topic isn't trivial and highly dependent on the setup each admin  
prefers. CGI is definitely the least efficient method of providing the  
service. mw-serve serving HTTP should be better, but if you've  
webservers running anyway (e.g. to run the MediaWiki), FastCGI and  
SCGI are very efficient protocols.

As there are many webservers out there which are configured in various  
different ways to talk to mw-serve in one of the various protocols,  
this is a topic which cannot be covered in mwlib IMO.

But that's the main reason, mw-serve supports HTTP out-of-the-box  
(even as the default protocol): If your PATH etc. is set up correctly,  
cache directory and logfile is writeable etc., you just need to start  
mw-serve to get a stand-alone render server.

P.S.: Could very well be that my answers missed the point (I didn't  
really understand the relation of mwlib.cgi to the quoted text of the  
mails you replied to. :). If this is so, please elaborate a bit more.

-- Johannes Beigel



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to