apache and %2F
If you are running rails on passenger and sometimes get apache internal 404 errors, this can be because by default apache doesn't handle urlencoded chars like '%2F' (/). In this case it won't even get to rails and will only appear in access_log with 404 status.
Solution is pretty simple - just add AllowEncodedSlashes On to virtual host section.
Solution is pretty simple - just add AllowEncodedSlashes On to virtual host section.