[Moin-user] Windows and Moin (yes, the moin packages load).
ransom at telus.net
Tue Dec 3 21:08:03 EST 2002
I gave up. I was able to view a wiki, but not edit pages.
I am now trying apache on windows. Its equally as frustrating. The
documentation on getting the default wiki working seems vague and
loading http://localhost/wiki/ redirects to:
which displays the following in the browser:
The requested URL /wiki/moin.cgi/ was not found on this server.
Apache/2.0.43 Server at localhost Port 80
My apache config file looks like:
ServerAdmin Doug.Ransom at alumni.uvic.ca
Alias /wiki e:/apps/moin/share/moin/htdocs/
ScriptAlias /wiki/ E:/apps/moin/share/moin/htdocs/
and the batch file moin.bat stored in e:\apps\moin\share\moin
The install instructions say nothing on how to get the virutal root
working for the default wiki, only to create a virtual root:
'Then, append these lines to "C:\Apache\conf\httpd.conf":
Alias /wiki/ "C:/Moin/share/moin/htdocs/"
ScriptAlias /mywiki "C:/Moin/mywiki/moin.bat" '
I thinks these instructions are bogus, because the URL
C:/Moin/share/moin/htdocs/ (or whatever fits teh machine) redirects to
a cgi, but there are no instructions on associating that cgi file with
any script in apache.
How can I make apache execte the batch file ?
Roger Haase wrote:
>--- Ransom <ransom at telus.net> wrote:
>>I am trying to get MoinMoin working with WindowsXP Pro and IIS.
>>My moin.cgi looks like this now
>>and the Moin library is loaded (I know thats the usual problem).
>>Now I get this particular error, and not being a python programmer, I
>>have absolutely no clue on what to do next. All help appreciated.
>>>The specified CGI application misbehaved by not returning a
>>complete set of HTTP headers. The headers it did return are:
>>>Traceback (most recent call last):
>>> File "E:\apps\moin\share\moin\htdocs\moin.cgi", line 32, in ?
>>> File "e:\apps\moin\Lib\site-packages\MoinMoin\cgimain.py", line
>>103, in run
>>> sys.stderr = open(os.path.join(config.data_dir, 'err_log'),
>>>IOError: [Errno 2] No such file or directory: 'data\\err_log'
>>Another weirdness is that the URI
>>http://localhost/wiki/moin.cgi must be used; IIS will not deliver
>>URI http://localhost/wiki/moin.cgi/. The default document as
>>in the setup manual will not work under windows when following the
>I think the error you are getting is the result of MoinMoin trying to
>write an error message to err_log, and it is abending because there is
>no /data/ folder under /htdocs/ (and there should not be one).
>If you followed the IIS installation instructions, you should have
>created a folder called mywiki (or almost any other name of your
>choice, but not wiki). So you should be trying to access:
> http://localhost/MYwiki/moin.cgi (where MY should be my)
>Note the installation instructions have you set up two alias names in
>IIS: wiki and mywiki.
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>This SF.net email is sponsored by: Get the new Palm Tungsten T
>handheld. Power & Color in a compact size!
>Moin-user mailing list
>Moin-user at lists.sourceforge.net
More information about the Moin-user