title: allow http iframe on a https page with apache HTACCESS
body: <p>I have a problem with the HTACCESS</p>
  
  <p>I have a web page with an SSL certificate, for example https:// www. example.com</p>
  
  <p>Then i have to inject an iframe from other company on my web. The iframe is not https, its just http and the other company is not about to change this.</p>
  
  <p>So i have to allow on my htaccess this iframe.</p>
  
  <p>I put this iframe on a page that cannot be http</p>
  
  <p>for example, if my entire web is https:// www. example.com i want to turn https:// www. example.com/en/potato to http:// www. example.com/en/potato so i will can inject the http iframe.</p>
  
  <p>I've tried to do </p>
  
  <pre><code>RewriteCond %{HTTPS} off
  RewriteCond %{THE_REQUEST}  !^/en/potato$ [NC]
  RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  RewriteEngine on
  
  RewriteCond %{HTTPS} on
  RewriteCond %{THE_REQUEST} ^/en/potato$ [NC]
  RewriteRule ^(.*)$ http://xxx.example.com/en/potato [R=301,L]
  </code></pre>
  
  <p>Any sugestion? </p>
  
  <p>Also the web is made on php</p>
  
  <p>Thanks!</p>