XF 2.0 Image Proxy Suddenly Stopped Working

Hizen

Member
I had this problem before in XF1.5: https://xenforo.com/community/threads/put-in-ssl-image-proxy-now-broken.126052/

All of a sudden, my image proxy stopped working, but only for locally hosted images. Remembering my past issue, I immediately went to my hosts file, /etc/hosts, and made it look like this:
Code:
# The following lines are desirable for IPv4 capable hosts
127.0.0.1 localhost.localdomain localhost
127.0.0.1 localhost4.localdomain4 localhost4

# The following lines are desirable for IPv6 capable hosts
::1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

The image proxy test successfully fetched the image, but trying to view it on my forum it would always return 1517569089196.webp

Does anybody know about this?
 
Did you ever get this resolved?

I just moved my forum from vB to XF2. I am trying to get SSL working. ALL of my personal images are hosted on my server. I turned on the image proxy and for ALL the externally linked images, they show up fine and if I check their properties, they show as having an https:// link. However, in ALL cases where I have a link to one of my personal images, all I get is this
1517569089196-png.168024
 
Okay, I figured out my problem.

I had a redirect in my .htaccess file, which sits in the /public_html directory to push people over to /public_html/forums/index.php. This was because I did not have an index.html in the /public_html directory.

MY images were all in this directory /public_html/linkfiles/ so the redirect was breaking the links to them.

I removed the redirect from the .htaccess file. Then I created a temporary index.html file with a link to the forum. You can see it here.

www.twtex.com

That allows the links to the /public_html/linkfiles/ directory to work now.
 
Top Bottom