The Apache webserver has a module called
mod_rewrite; mod_rewrite
"rewrites" URLs so it can do things like translate the URL "
http://wikka.jsnx.com/wikka.php?wakka=DotMG""## into
http://wikka.jsnx.com/DotMG. This gives us nice, short, and user-friendly URLs to use with Wikka while internally Wikka works with the "full" URL.
Wikka works with or without
mod_rewrite.
During installation, Wikka will try to figure out if mod_rewrite is available. If Wikka does not detect
mod_rewrite, it's possible to manually configure Wikka to use it after installation.
That's it. Notice the small change. We are just removing "wikka.php?wakka=" and then setting
rewrite_mode to 1.
Note that the two configuration settings must always match - if not, you'll end up with strange errors and pages not found.
Note: this may not work when you installed wikka in some subdirectory. In that case, edit
.htaccess and add the following line, right after the line that reads "
RewriteEngine on":
Check your logs! For instance, if you see a "File does not exist: /some/internal/path/to/
HomePage" in your
error_log, check
wikka.config.php and make sure
base_url is set to the correct pathname to access your wiki,
and that it includes a trailing slash (/)! For example, if you normally access your wiki using
http://yourdomain.com/mywiki , then your
base_url must be set to:
CategoryEN CategoryReview
Deletions:
Wikka Documentation
The Apache webserver has a module called