Hello,
I am setting up a DokuWiki and ofcourse i am using OLS as webserver for this purpose.
I have a problem displaying images with .htaccess RewriteRules.
The images are displaying if i am not using pretty Urls or Rewrite at all.
Without further testing i assume the other 2 rules are not working either.
RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
tldr; lib/exe/fetch.php?media=... works, displays images.
_media/ rule, no image .
There is no documentation or anything about OLS and DokuWiki, so i guess someone hasnt experienced this issue or havent tried OLS and DokuWiki.
but since this should work with good ol apache .htaccess file, then it should work with OLS too...
I have no idea how to solve this... :/
I am setting up a DokuWiki and ofcourse i am using OLS as webserver for this purpose.
I have a problem displaying images with .htaccess RewriteRules.
The images are displaying if i am not using pretty Urls or Rewrite at all.
Without further testing i assume the other 2 rules are not working either.
RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
tldr; lib/exe/fetch.php?media=... works, displays images.
_media/ rule, no image .
There is no documentation or anything about OLS and DokuWiki, so i guess someone hasnt experienced this issue or havent tried OLS and DokuWiki.
but since this should work with good ol apache .htaccess file, then it should work with OLS too...
I have no idea how to solve this... :/