Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
software:dokuwiki [2008/06/07 14:00] cyril |
software:dokuwiki [2013/09/19 20:04] cyril add nginx support |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[http:// | [[http:// | ||
- | ===== Have it working on free.fr ===== | ||
- | There was some problems to have it working on my host Free. | + | ===== Le faire fonctionner sur les pages persos de free.fr ===== |
- | Someone created | + | Il y a quelques problèmes pour le faire fonctionner chez Free, mais quelqu' |
+ | |||
+ | Cependant dokuwiki est dorénavant banni chez Free. Si vous êtes détecté, votre compte sera suspendu pour le motif : | ||
+ | >Les interfaces utilisant des fichiers locaux comme base de données/ | ||
+ | |||
+ | ===== Install with Nginx ===== | ||
+ | |||
+ | userewrite = 2 (dokuwiki is rewriting) did not work with nginx, so I wanted to switch to mode 1 where the web server manages rewriting. | ||
+ | |||
+ | There are suggestions of configuration [[https:// | ||
+ | |||
+ | Therefore I use this configuration, | ||
+ | # always needed | ||
+ | location ~ / | ||
+ | deny all; | ||
+ | } | ||
+ | |||
+ | # needed to support old rewrite | ||
+ | location ~ / | ||
+ | rewrite ^/ | ||
+ | } | ||
+ | |||
+ | # needed for new rewrite | ||
+ | location ~ /wiki/lib/ {} | ||
+ | location ~ /wiki/ { | ||
+ | rewrite ^/ | ||
+ | rewrite ^/ | ||
+ | rewrite ^/ | ||
+ | rewrite ^/wiki/(.*) / | ||
+ | } | ||
+ | </ | ||
===== The sidebar ===== | ===== The sidebar ===== |