How does Apache process a path with a percent-encoded URL in it?
You'll need to enable AllowEncodedSlashes
, which will cause Apache to allow URLs with %2F
and %5C
in them, instead of throwing a 404. You will still, of course, have to make sure that your PHP script is handling the decoding of the URL correctly, as that's not Apache's duty.