[Moin-user] Permissions problem

Andre Meyer meyer at acm.org
Thu Feb 23 08:48:26 EST 2006


Just checked. The path is /usr/bin/python and that is correct on Fedora.

[root at python:/usr/local/var/moin/diwiki/cgi-bin]# ll
total 16
-rwxrwxrwx  1 apache apache 1034 Feb 23 15:00 moin.cgi



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


More information about the Moin-user mailing list