Serve files with question marks in Apache
Monday March 16, 2009
…using mod_rewrite.
Red bull, f**k off with your wings. By comparison, mod_rewrite straps you to an aircraft engine, and fixes you up with a complimentary nappy in case you wet yourself.
Alas, what if you want to serve a file named “can’t?touch this”…, and the first line of your request looks like this
GET /can’t?touch%20this HTTP/1.1
So what if I take a perverse interest in edge use cases? Bring it on…
...read more