Diem snippets syndication

Diem and Nginx

December 29, 2009 by Nathan Bijnens <http://servs.eu>

Diem can't be easily used in combination with NGINX. Nginx replaces the + with %2B in the url. Which is vital for the Diem routing.

But there is a very easy fix:
in config/ProjectConfiguration.class.php put

$_SERVER['PATH_INFO'] =urldecode($_SERVER['PATH_INFO']);   

in the setup() method.

Add a comment


    Fork Diem on GitHub