The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

rewrite rule for filenames with spaces

Discussion in 'General Discussion' started by dxm, Aug 21, 2008.

  1. dxm

    dxm Active Member

    Aug 1, 2007
    Likes Received:
    Trophy Points:
    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?


Share This Page