[Moin-user] Permissions problem
Andre Meyer
meyer at acm.org
Thu Feb 23 08:09:07 EST 2006
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 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 <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] (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] 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/191c5bb0/attachment.html>
-------------- next part --------------
# http://moinmoin.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation
export PREFIX=/usr
export SHARE=$PREFIX/share/moin
export WIKILOCATION=/usr/local/var/moin
export INSTANCE=diwiki
export USER=apache
export GROUP=apache
cd $WIKILOCATION
mkdir $INSTANCE
cp -R $SHARE/data $INSTANCE
cp -R $SHARE/underlay $INSTANCE
cp $SHARE/config/wikiconfig.py $INSTANCE
chown -R $USER.$GROUP $INSTANCE
chmod -R ug+rwX $INSTANCE
chmod -R o-rwx $INSTANCE
# Moin CGI
cd $WIKILOCATION/$INSTANCE
mkdir cgi-bin
cp $SHARE/server/moin.cgi cgi-bin
chown -R $USER.$GROUP cgi-bin
chmod -R ug+rx cgi-bin
chmod -R o-rwx cgi-bin
echo "" >>/etc/httpd/conf/httpd.conf
#echo "Alias /wiki/ \"$SHARE/htdocs/\"" >>/etc/httpd/conf/httpd.conf
echo "ScriptAlias /diwiki \"$WIKILOCATION/$INSTANCE/cgi-bin/moin.cgi\"" >>/etc/httpd/conf/httpd.conf
# restart Apache
/etc/init.d/httpd restart
grep moin /var/log/httpd/error_log
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wikiconfig.py
Type: text/x-python
Size: 5374 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/moin-user/attachments/20060223/191c5bb0/attachment.py>
More information about the Moin-user
mailing list