[Moin-user] Error: Premature end of script headers: moin.bat ??

Jose Rivera jriveramerla at yahoo.com
Tue Jul 9 11:46:01 EDT 2002

I get thiserror:
Error:  Premature end of script headers: moin.bat 
when I want to see the url: http:\\\mywiki

What it's wrong? Thanks for your help... in advance.

I'm on WinNT, Apache, Python 2.1 and this scenario:

I installed mywiki on "d:\tools\moin\mywiki"
Python -> d:\tools\python21\python.exe
Apache -> d:\tools\ApacheGroup\Apache2

This is the configiuraction files:

httpd.conf (last 3 lines):
Location: "d:\Tools\Apache Group\Apache2\conf"
SetEnv PYTHONPATH "d:\tools\moin" 
Alias /mywiki/ "d:\Tools\Moin\share\moin\htdocs\" 
ScriptAlias /mywiki "d:\Tools\Moin\mywiki\moin.bat"

Moin.BAT (ALL the Lines) Location:
@echo off 
set PYTHONPATH=d:\Tools\Moin
cd \Tools\Moin\mywiki 
d:\Tools\Python21\python.exe moin.cgi 

Moin_Config.py (located at:d:\Tools\Moin\mywiki)
... A lot of lines...

Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

More information about the Moin-user mailing list