Just checked. The path is /usr/bin/python and that is correct on Fedora.<br><br>[root@python:/usr/local/var/moin/diwiki/cgi-bin]# ll<br>total 16<br>-rwxrwxrwx 1 apache apache 1034 Feb 23 15:00 moin.cgi<br><br><br><br><div>
<span class="gmail_quote">On 2/23/06, <b class="gmail_sendername">Gisbert Amm</b> <<a href="mailto:gia@webde.de">gia@webde.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Probably the path to the python interpreter within moin.cgi (the first<br>line) is wrong. See <a href="http://moinmoin.wikiwikiweb.de/MoinMoinFragen">http://moinmoin.wikiwikiweb.de/MoinMoinFragen</a> (German).<br><br>Regards,
<br>Gisbert Amm<br><br>Andre Meyer wrote:<br>> Hi Gisbert<br>><br>> Not a stupid question at all, but it *is* executable (checked). Done<br>> using the chown/chmod statements from the website (<br>> <a href="http://moinmoin.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation">
http://moinmoin.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation</a>).<br>><br>> I have just run moin.cgi and it outputs the correct html to the console,<br>> just not via Apache.<br>><br>> thanks<br>> André
<br>><br>><br>> On 2/23/06, *Gisbert Amm* <<a href="mailto:gia@webde.de">gia@webde.de</a> <mailto:<a href="mailto:gia@webde.de">gia@webde.de</a>>> wrote:<br>><br>> Probably stupid question: Is /usr/local/var/moin/diwiki/cgi-bin/moin.cgi
<br>> executable at all? Can the webserver user read it?<br>><br>> Regards,<br>> Gisbert Amm<br>><br>> Andre Meyer wrote:<br>> > MoinMoin<br>> ><br>> > I have tried to install MoinMoin today on a Fedora Core 4 machine
<br>> from<br>> > the usual repo. After going through all the configuration (see<br>> > attachment) it seems to work, but when I access the new wiki I<br>> get the<br>> > following error message in the browser:
<br>> ><br>> ><br>> > Internal Server Error<br>> ><br>> > The server encountered an internal error or misconfiguration and was<br>> > unable to complete your request.
<br>> ><br>> > Please contact the server administrator, <a href="mailto:meyer@acm.org">meyer@acm.org</a><br>> <mailto:<a href="mailto:meyer@acm.org">meyer@acm.org</a>><br>> > <mailto:
<a href="mailto:meyer@acm.org">meyer@acm.org</a> <mailto:<a href="mailto:meyer@acm.org">meyer@acm.org</a>>> and inform them of<br>> the time the error occurred,<br>> > and anything you might have done that may have caused the error.
<br>> ><br>> > More information about this error may be available in the server<br>> error log.<br>> ><br>> ><br>> ------------------------------------------------------------------------
<br>> > Apache/2.0.54 (Fedora) Server at <a href="http://python.openspace.nl">python.openspace.nl</a><br>> <<a href="http://python.openspace.nl">http://python.openspace.nl</a>><br>> > <mailto:
<a href="mailto:meyer@acm.org">meyer@acm.org</a> <mailto:<a href="mailto:meyer@acm.org">meyer@acm.org</a>>> Port 80<br>> ><br>> ><br>> ><br>> > The error log says the following:
<br>> ><br>> > [Wed Feb 22 14:56:35 2006] [error] [client <a href="http://127.0.0.1">127.0.0.1</a><br>> <<a href="http://127.0.0.1">http://127.0.0.1</a>> < <a href="http://127.0.0.1">
http://127.0.0.1</a>>]<br>> > (13)Permission denied: exec of<br>> > '/usr/local/var/moin/diwiki/cgi-bin/moin.cgi' failed<br>> > [Wed Feb 22 14:56:35 2006] [error] [client <a href="http://127.0.0.1">
127.0.0.1</a><br>> <<a href="http://127.0.0.1">http://127.0.0.1</a>> < <a href="http://127.0.0.1">http://127.0.0.1</a>>]<br>> > Premature end of script headers: moin.cgi<br>> ><br>
> ><br>> > I have also added the lines with permissions for access to the htdocs<br>> > directory and restarted httpd, but it doesn't help.<br>> ><br>> > Any ideas?<br>
> ><br>> > thanks in advance for your help.<br>> > kind regards<br>> > André<br>> ><br>> ><br><br></blockquote></div>