1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Proxy images not working - 403 error

Discussion in 'Troubleshooting and Problems' started by MarkMark, Aug 22, 2015.

  1. MarkMark

    MarkMark Member

    Our forum uses SSL, and images embedded within messages obviously cause issues. I have tried to use the proxy image option, but it doesn't seem to be working. Images are simply broken and don't display.

    If I try and access proxy.php directly, and try and get it to load an external image (eg. proxy.php?image=https://xenforo.com/community/styles/default/xenforo/logo.png) I am given a 403 forbidden error.

    Am I doing something wrong, or is this likely to be my hosts mod security settings preventing the script from running properly?
     
  2. Mike

    Mike XenForo Developer Staff Member

    Is it an Apache error? If so, it's likely mod_security. If not, can you provide an example URL?

    Note that you can't use the image proxy like that with a totally arbitrary URL. There is a verification hash that has to be added (by the system).
     

Share This Page