Project

General

Profile

Wiki force downloads

Added by R Sep about 10 years ago

Hi Guys,

Hoping you can help me out with this.
I needed a Wiki for a project we're working with, so I created a simple index page to get started.
But now, whenever I click on the wiki tab in the project, it just directly downloads the wiki file (Wiki.html), so I can't browse or edit any pages.

I've looked in the settings of the project but it happens in all projects, don't really know what else to do except dive into the source code (and I'm not that great at ruby).

Here's my setup:

Environment:
Redmine version 2.5.1.stable
Ruby version 2.1.0-p0 (2013-12-25) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2


Replies (1)

RE: Wiki force downloads - Added by R Sep about 10 years ago

Found a solution on stack, for anyone else having the same issue, comment out the following line in redmine/public/.htaccess:

RewriteRule ([.]+)$ $1.html [QSA]

    (1-1/1)