I have a dokuwiki running smoothly in the root of one host.
I wanted to install a new one in a subdirectory of a different site.
The URL is
http://t.wurfl.com/docs/
All docs should be under docs and in the main root I will have other stuff.
I have enabled URL rewriting in Apache and configured as follows:
<Directory "/www/t.wurfl.com">
Options -Indexes +FollowSymLinks
Order allow,deny
Allow from all
RewriteEngine on
RewriteBase /docs
RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
RewriteRule ^$ doku.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) doku.php?id=$1 [QSA,L]
# Options FollowSymLinks
# AllowOverride AuthConfig Limit
# Order allow,deny
# Allow from all
</Directory>
I enabled the rewrite configuration and set it with value '1'.
The problem is that it messes up URL's and page names. My start page is "Start", but when I create it I find myself in docs_start. Clicking on the breadcrumbs it starts jumping to new pages all the time adding a "docs_" prefix.
This makes the Wiki unusable, of course.
You can see it on the URL I wrote at the beginning of the post.
User login and password 'test' if you want to try it out.
Thanks