Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

rewrite rule for filenames with spaces

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

  1. dxm

    dxm Active Member

    Joined:
    Aug 1, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    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
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice