Thread:Project:Support desk/Internal Server Error (2)/reply (9)

Let me summarize quickly:

You are running on Apache and directly after installation you get a redirect loop.

I would search the problem in the file .htaccess. Do you have one in the root folder of your MediaWiki installation? If so: What is in it?

You said:

> When I add the variables $wgUsePathInfo and $wgArticlePath to the LocalSettings.php seems to be fixed the issue, but the Mediawiki have not any style associated.

That sounds like it is an improvement compared to what you had before. You can see what you should set for these variables here: $wgArticlePath and $wgUsePathInfo. Do you have a URL, where I can see this state? Without seeing it I guess that you cannot access the file load.php with the webbrowser. This problem in most cases is caused by the fact that requests to load.php are redirected to the MediaWiki main PHP file, which finally returns a MediaWiki page. The expected output however are CSS styles.

To fix the issue you have to add a RewriteRule in the file .htaccess. Change your .htaccess file to make sure that calls to load.php (and to api.php btw.) are not rewritten.

RewriteEngine On RewriteRule ^(api|load)\.php - [L] ...

After that load.php should return the right contents and your wiki should be styled.