Skip to content

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

@petewarden

Description

@petewarden

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions