• 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

#1
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?
 

Mike

XenForo developer
Staff member
#2
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).