Handling URL with the percentage character

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Handling URL with the percentage character

Anoop Alias
Hi,

Is there a way URL like

++++++++++++++++++++++++++++++++++++
<a href="http://domain.com/%product_cat%/myproduct">http://domain.com/%product_cat%/myproduct
+++++++++++++++++++++++++++++++++++++

to be passed as is to an Apache proxy backend.

Currently, Nginx is throwing a 400 bad request error (which is correct), but the Apache httpd using a php script can handle this . so is there a way I can do like ..hey this will be handled someplace else so i just need to pass on whatever i get to upstream?

Also if I encode the URL with 



That works too. So if the first is not possible is there a way to rewrite all % to %25 ?


--
Anoop P Alias 


_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx