Off domain images
I\’m fairly new to this so please forgive any stupidity. I have a site based on bp and bbp. The site is entirely under SSL (the entire site, not via a plugin for components), so all urls are https://www.domain.com.
I am looking to move some content out of SSL – particularly fixed graphical elements – there are only a handful, so I thought a manual db tweak would suffice. I created a second domain (media.domain.com) with a vhost on port 80. I copied the bp_columns header image into the vhost and did a strings replace in the DB to point this image at the new location; https://www.domain.com/path/to/image.jpg -> http://media.domain.com/new/path/to/image.jpg.
It didn’t work, the emitted html references https://media.domain.com/new/path/to/image.jpg (ie the domain/path is right but not the protocol). I can\’t see anything in the httpd configuration that would rewrite the outbound url string to https, so I am wondering if something in wp/bp is doing this quietly?
Input on any other approaches to mixing content between two domains in this way – more than welcome.
You must be logged in to reply to this topic.