I did this. I had to change the rights of index.cgi and the wiki directory. Now it works. I can upload files!!! But at the same time the design changed. The skin is 'MonoBook' but it looks like 'Simple'. I have no idea where this came from.
Has anyone had similar problems yet? Any idea what could go wrong?
Thanks, MB
Rob Church schrieb:
Change the value of $wgScript and related variables in LocalSettings.php to prevent MediaWiki from redirecting back to index.php.
Rob Church
On 17/01/06, Martin Baumann mailsgetlost@web.de wrote:
Hi everyone!
First of all I explain the problem. I installed and configured mediawiki and it works so far. The only problem is uploading files.
The server used here is used by a lot of users. Therefore it is configurated in a way that makes it necessary for all php scripts that do file operations (such as uploading images) to be renamed to cgi and add a new line in the beginning that calls the correct interpreter for this cgi script. Only this way safe mode restrictions can be handled on this machine.
A disadvantage of this is that cgi scrips are ran more slowly than php scripts on this server. Therefore it would be best to use index.cgi for uploading images and index.php for all other purposes.
I tried to use index.cgi only: I renamed index.php to index.cgi and added the interpretar line into it. Further I replaced 'index.php' calls in all media wiki script files by 'index.cgi' calls. But it didn't work: when I opend the index.cgi in a browser (I tried several browsers) it took some time and then the following error was shown: Redirection limit for this URL exceeded.
Is there a simple way to make changes to media wiki such that it is started as a cgi and not as php script file? Does anyone have experience with this?
Thanks, MB ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l