I'm hosting an image server where my clients upload their photos for viewing by their customers later. We've migrated our site from a Windows server to Linux. Some of our clients are accustomed to being able to use parenthesis in the file names. This used to work in our Windows environment but not in the Apache/Linux environment we moved to, we get a 404. When we modify the file, removing the parenthesis, we are able to serve it. Is there a way we can allow parenthesis in the file name for Apache to serve?
That's because parenthesis are reserved by RFC 3986, and aren't allowed. You will need to percent encode these characters if you wish to use them in your URL.
If you're getting a 404, its because its not encoded and isn't actually looking at the right file, because the parens are being interpreted as delimiters. What you want to do is, assuming you have a file