Hi!
I've had to setup DokuWiki on a very small vServer and used Nginx do accomplish that. It's basically working fine - I followed the rewrite instructions over there:
http://www.dokuwiki.org/rewrite
The only problem I'm having is with the toolbar - the Icons don't show up.
Here are some essential parts of the configuration:
rewrite ^(/wiki/)_media/(.*) $1lib/exe/fetch.php?media=$2 last;
rewrite ^(/wiki/)_detail/(.*) $1lib/exe/detail.php?media=$2 last;
rewrite ^(/wiki/)_export/([^/]+)/(.*) $1doku.php?do=export_$2&id=$3 last;
location /wiki/ {
if (!-f $request_filename) {
root /var/www/nginx-default/wiki;
rewrite ^(/wiki/)(.*)?(.*) $1doku.php?id=$2&$3 last;
rewrite ^(/wiki/)$ $1doku.php last;
}
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/nginx-default$fastcgi_script_name;
include fastcgi_params;
}
Has anyone got an idea what might be happening? The server is running Debian Lenny and im using the current Firefox as a browser.
Thanks,
Jan