Manual talk:Short URL/wiki/Page title -- nginx rewrite--root access

Jump to navigation Jump to search

Works great![edit]

Thanks, it is working quite well for me. I see what you mean about the printable version bit, but my apache configuration had the same limitation, so I think you've set it up just fine?-- 22:18, 8 May 2010 (UTC)[reply]

Problem with &[edit]

Does work well for everything except "&". does not work. Nor does

infinite rewrites[edit]

running Ubuntu 10.04.1, nginx 0.7.65, PHP 5.3.3-0.dotdeb.1 with FPM, APC 3.1.6, mediawiki 1:1.15.1-1ubuntu2.1

browsing to http://myhost or http://myhost/ would produce URLs like:


The following rewrite rule worked for me:

       location @mediawiki {
               rewrite ^/(?:index\.php5)([^?]*)(?:\?(.*))? /index.php5?title=$1&$2 last;