Wikka Developer Blog

Fresh news from the Wikka Developer Team

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

2 Responses to 'Fixing a glitch with themes and mod_rewrite in 1.2'

Subscribe to comments with RSS or TrackBack to 'Fixing a glitch with themes and mod_rewrite in 1.2'.

  1. This modification, as well as another fix to correct a stylesheet issue on Windows platforms, are now included in the Wikka-1.2-p1 (patch level 1) release, which can be downloaded at http://wikkawiki.org/HomePage.

    Brian

    7 Sep 09 at 4:50 am

  2. [...] patch for WikkaWiki 1.2 (1.2-p1) has been released to fix some minor issues with the support of themes.Changes on top of 1.2 are described on this [...]

Leave a Reply