rewrite rule for filenames with spaces

dxm

Active Member
Aug 1, 2007
25
0
51
I have a site which is setup for RoR.
So there is a htaccess file which is rewritting requests to a mongrel process running on the server.
The problem we are having right now is that filenames (images) with spaces in them are not being found, i.e. a 502 error is being returned for those files.
If I access the mongrel process directly eg site:12004/image/File Name.png it works just fine.

So, is there anything I can do about this?

thanks