Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
"Your request path doesn't match your Location" #352
Given this Apache2 configuration:
Doing a request to http://server.name//foo gives me this error:
Your request path is '//foo' and it doesn't match your Location(Match) '/foo'. This should be due to the configuration error. See perldoc Plack::Handler::Apache2 for details.
"perldoc Plack::Handler::Apache2" didn't tell me anything useful, and this doesn't look like a configuration error to me.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
OK, yeah this is how Apache is munging double slashes into one internally while keeping that in the request URI, messing up the handler's match.
This is arguably an Apache bug or at least weird behavior, and maybe we have to work around by munging slashes into one or something.