Server Error on fresh Wikka install


Symptoms

Going to the URL for a freshly-installed Wikka to trigger the installation process, the server issues a 500 (Server error) error and Wikka setup does not start.

Cause

Although there are many possible causes for a 500 server error, a common one with Wikka installs is the way Wikka tries to make use of the URL-rewriting capabilities of the Apache server. Wikka installs .htaccess files in its directories; the one in Wikka's home directory tries to detect whether mod_rewrite is available, and if so, turns on the rewriting engine and gives it some rules. A problem occurs when the rewriting is already on for the directory Wikka is installed in via server configuration for the same or a higher directory.

Applies to

Any Wikka version.

Solution

Note: since there actually can be different causes for a 500 Server error, the following workaround is not guaranteed to solve the problem - merely likely!

Open the .htaccess file in Wikka's home directory and uncomment the line turning the rewrite engine on:
Change this:
 RewriteEngine on
to this:
# RewriteEngine on


Then test... if this does not solve the prolem there must be another (as yet unidentified) cause, and you should remove the # again. And go hunting....


CategoryWorkaround
Comments
Comment by enki.metavers.net
2005-02-28 18:58:36
If the path is smth/Wikka for example, this line should be added after RewriteEngine on :

RewriteBase /Wikka
Comment by 222.235.88.118
2005-06-12 00:07:22
I'm getting a 404 error after my install even after trying the fixes on this page.
Comment by JavaWoman
2005-06-12 14:29:34
@222.235.88.118:
404 means the URL can't be found - that's quite different from a 500 server (configuration) error.

Please have a look at the other workarounds (http://wikka.jsnx.com/WikkaWorkarounds). If those don't help, try asking for help in the #wikka channel or Freenode (see http://wikka.jsnx.com/TheLounge); if you can't do that, use the Feedback form on http://wikka.jsnx.com/SuggestionBox and make sufre you give as many details about your setup as possible (including a URL to look at, if the site is public).
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki