Configure apache to handle static resources using ?? character in file name

For various reasons, I have a lot of static resources with the following naming format:

xxxhy? Yyyyo

where x are regular letters and y are numbers 0-9.

Apache truncates the filename in the GET request with "?" - as this is traditionally used to define query parameters - and thus reports the following error

File xxxx not found.

How can I get Apache not to think that y are request arguments and are actually part of a static filename?

Many thanks for the help,

Don

+1


source to share


1 answer


If you have control over how URLs are displayed, you can avoid the "?" chars. It will be% 3F instead of '?'. So the url would be



http://example.com/abcdef%3f99999

      

+2


source







All Articles