Table of contents
  1. 1. Edit mod_rewrite rules
    1. 1.1. Reload Apache

In some cases you may want to have another directory under your Deki Wiki DocumentRoot.  For example, let's say you want to make your photos available at:

http://wiki.example.org/photos

 

Edit mod_rewrite rules

Edit your Deki Wiki apache configuration (on Debian this is /etc/apache2/sites-available/deki).  Before or after this line:

RewriteCond %{REQUEST_URI} !/(@api|editor|skins|config|@gui)/

Add a line like this:

RewriteCond %{REQUEST_URI} !^/(photos|photos/.*)$

Reload Apache

/etc/init.d/apache2 reload

 

 

This will exclude the Deki Wiki rewrite rule for URI's like:

http://wiki.example.org/photos
http://wiki.example.org/photos/
http://wiki.example.org/photos/photo1.jpg


 

Tag page
Viewing 1 of 1 comments: view all
If you'd like to rewrite the rules under windows (running the official MSI package), go to MindTouch Deki\web\bin\IsapiRewrite4.ini
Posted 08:37, 30 Apr 2009
Viewing 1 of 1 comments: view all
You must login to post a comment.