Apply HTTP to one area of HTTPS website running on Apache

I run a secure website on Apache, but one part requires YouTube videos that aren't showing due to the SSL blocking them.

I therefore need to use HTTP for this part of the site (/videos). If I delete the 's' off https, it jumps back in there so can't simply change the link to it.

Is there a mod_rewrite code or something similar that might add an exception to this directory?

Answers


Switching from HTTPS to HTTP will always cause problems, especially if your users are authenticated and if you want to maintain security.

You could use YouTube via HTTPS instead, as described on the YouTube API Blog.


Need Your Help

How to make Author mode component annotations visible in CQ5/AEM5.6.1?

aem

In AEM 5.6.1, if I add annotation to the component it works just fine while I'm editing the page but disappears after page is reloaded.

JavaScript instanceof

javascript inheritance

Can you please tell my why in the example below sub instanceof Super is false?