Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 on Cloudfront-compatible URLs with Apache2/Passenger #14

Open
petewarden opened this issue Jul 23, 2013 · 1 comment
Open

404 on Cloudfront-compatible URLs with Apache2/Passenger #14

petewarden opened this issue Jul 23, 2013 · 1 comment

Comments

@petewarden
Copy link

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 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.

@planetahuevo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants