fguillot/miniflux — pull request #278 by mkresin (2014-12-27 12:58:59+00:00)
Title: Fixes/Cleanup/Enhancement

As usual, each commit has a detailed description why its needed and what it changes.

Some words to the Fever API enhancement:

First of all, it's only tested with apaches mod_redirect. I don't know whether other webserver provides a similar feature.

I would like to show to "full" fever url within the API page. Unfortunately I couldn’t figure out a way to reliable detect whether mod_rewrite is available. What I've tried so far:

- apache_get_modules() is only available when php is installed using mod_php [1]
- SetEnv HTTP_MOD_REWRITE On in .htaccess [1] depends on the virtualhost configuration [2]

The Fever API documention needs to be updated.

[1] http://christian.roy.name/blog/detecting-modrewrite-using-php
[2] http://stackoverflow.com/a/5764576