imageproxy icon indicating copy to clipboard operation
imageproxy copied to clipboard

404 on Cloudfront-compatible URLs with Apache2/Passenger

Open petewarden opened this issue 12 years ago • 1 comments

Great project, thanks for putting this together! I had a documentation improvement I wanted to flag. By default Apache2 will give 404's if there are any encoded slashes in a URL, so the Cloudfront selftest example doesn't appear. There's an easy fix, but it took me a while to figure it out. Inside the <VirtualHost> configuration, add the following:

AllowEncodedSlashes NoDecode

It doesn't work in the main apache2.conf file, only within a vhost! It might be a good addition to the EC2 setup instructions.

petewarden avatar Jul 23 '13 22:07 petewarden

The encoded slashes are giving me a lot of problems as i would like to be able to copy an paste an image url into the proxy server and now i need to translate all the slashes before to make it work.

Is there any way to config imageproxy to work with normal slashes? Thanks

planetahuevo avatar Mar 03 '14 02:03 planetahuevo