Wikka Developer Blog

Fresh news from the Wikka Developer Team

Archive for the ‘kubrick’ tag

Fixing a glitch with themes and mod_rewrite in 1.2

with 2 comments

If your wiki runs on Apache with rewrite_mode on and depending on your server configuration, you may have noticed some glitches with the display of themes. The kubrick theme, for one, doesn’t seem to correctly load the embedded graphics. The fix is simple: rewrite rules should be disabled in the templates folder. Simply create a file with the following content and save it as templates/.htaccess:

1
2
3
4
<ifmodule mod_rewrite.c>
        # turn on rewrite engine
        RewriteEngine off
</ifmodule>

The graphics called by the stylesheets of the themes should now be loaded. The same fix may need to be applied to plugins/templates if you are installing custom themes.

Written by Dario

September 5th, 2009 at 7:38 am