CINXE.COM
FS#2861 The default .htaccess is missing _media redirects for URL rewriting
<html> <head> <title>FS#2861 The default .htaccess is missing _media redirects for URL rewriting</title> <link href="static/style.css" rel="stylesheet"/> <meta charset="utf-8"/> </head> <body> <div class="container"> <div class="warning"> This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the <a href="https://github.com/splitbrain/dokuwiki/issues">issue tracker at Github</a>. </div> <div class="resolution"> <strong>Closed</strong><br /> Works for me </div> <h1>FS#2861 The default .htaccess is missing _media redirects for URL rewriting</h1> <h2>Media Management</h2> <ul class="tasks"> <li class="task"> <div class="taskhead"> <img src="http://www.gravatar.com/avatar/7ccc4d4f50239bf14097146419dc3672?d=monsterid&s=48" align="left"/> <p class="text"> <span class="date">2013-10-04</span> <span class="user">cstuder</span> </p> </div> <div class="tasktext"> If the config option userewrite is set to .htaccess and the default .htaccess.dist is used by uncommenting all Rewrite directives, all image links on the pages and in the media manager are broken.<br /> <br /> The .htaccess.dist is missing the following line:<br /> <br /> RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]<br /> <br /> (As mentioned on the documentation page<a href=" https://www.dokuwiki.org/rewrite"> https://www.dokuwiki.org/rewrite</a>) </div> </li> </ul> </div> </body> </html>