I am a web programmer for over 10 years with solid knowledge in PHP development with Apache.
I believe that I will be able to solve your problem in a few hours, because I do it in my day to day work.
Correct me if I'm wrong, but in this project you want to identify why your site does not use https on all links, right?