I'm going nuts on this. Any help would be much appreciated. The $request_uri /h_32/w_36/test.jpg needs to be routed to /index.php/img/i/h_32/w_36/test.jpg index.php will route the request to the "img" controller and "i" method, then process the image and return it. However, my MVC works off of the REQUEST_URI. So simply rewriting the url will not work. The REQUEST_URI needby usazelf - Nginx Mailing List - English
Question on SF: https://serverfault.com/questions/874730/convert-apache-mod-proxy-p-to-nginx-equivalent My PHP MVC platform CodeIgniter performs routing based on the REQUEST_URI. In Apache, you cannot change the REQUEST_URI environment variable. So, in Apache, I made use of the proxy flag. Sending the rewritten URL using mod_proxy took care of that and it just works. The browser does not redirecby usazelf - Nginx Mailing List - English
We have url's like this: /demand/change_db_value/18050/13/.80/0/cost Notice the /.80 In our nginx conf for our site we have this access rule: location ~ /\.ht { deny all; log_not_found off; access_log off; } This rule produces this error in the logs: error.log: access forbidden by rule, server: oursite.tld, request: "GET /demand/change_db_value/18050/13/.80/0/cost HTTP/1.1" Wby usazelf - How to...
![]() |
![]() |
![]() |
![]() |
|