Not sure if it helps, but I only saw an "Unknown on line 0." error message when my custom session handler was throwing exceptions, because session_write_close() is called after the scripts finishes executing.by gog - Php-fpm Mailing List - English
I have an ugly, "just make it work" version of the rewrite rules that I am trying to simplify, but no luck. You can look at my working rewrite, and the one that doesn't work here https://gist.github.com/920669 This is what I am trying to achieve: - when http://hostname/img/123456.jpg is requested: 1. do an internal rewrite to /repository/images/1/2/3/123456.jpg 2. if /repositoryby gog - How to...
I stumbled upon the exact same problem today while moving our site from Lighttpd to nginx. This is how we solved it: Link to our protected files look like this: /pdf/number.pdf/MD5_hash/hex_of_timestamp and this is our location directive: # PDF download location /pdf { secure_download on; secure_download_secret $request_addr;by gog - Nginx Mailing List - English