How can I host my CSS/JS on an HTTPS server

10K35H 5H4KY4

I am facing problems with loading my custom CSS in Chrome. I'm using Joomla Artforms.

Here are few Javascript console statements from chrome:

[blocked] The page at 'https://www.mysite.com/component/artforms/?formid=200' was loaded over HTTPS, but ran insecure content from 'http:// www.mysite.com/includes/js/jscalendar-1.0/calendar_stripped.js': this content should also be loaded over HTTPS.

[blocked] The page at 'https:// www.mysite.com/component/artforms/?formid=200' was loaded over HTTPS, but ran insecure content from 'http: //www.mysite.com/modules/mod_followme/style.css': this content should also be loaded over HTTPS.

Please let me know if you need more detail.

Thanks

SpliFF

Simplest way to get this right is to load external files using the URL syntax

//example.com/path/to/some/file.js (remote)

or

/path/to/some/file.js (local)

This will load your resource using the same protocol (HTTP or HTTPS) as your main HTML page.

Note though that this will only work if your external resource is available over HTTPS. If it isn't then there's nothing you can do except move the external resource somewhere that does support HTTPS.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I use my host, a regular dream host acct as a node server?

From Dev

How can i know what is the host name of my database on my server

From Dev

How can I host my own website

From Dev

How can I host my own website

From Dev

How can I host my own Parse Server on Heroku using MongoDB?

From Dev

How can i setup my wamp server to access to a virtual Host from intranet?

From Dev

Deleted action dispatch by mistake, how to get it back correctly so that i can load my local host server properly?

From Dev

How can I host my API and web app on the same domain?

From Dev

How can I check if cgroups are available on my Linux host?

From Dev

How to host a website with database having server as my Laptop for free and which has a https link?

From Dev

How can I find my DHCP server?

From Dev

How can I be sure that my server is not virtualised?

From Dev

How can I find my DHCP server?

From Dev

How can I host a LAN server on an Android device?

From Dev

How can i get my website to display as https://www

From Dev

How can i enable HTTPS over a Snap server?

From Dev

How can I run a https server on Heroku with docker?

From Dev

How can a I redirect an HTTPS request to a HTTP server?

From Dev

How can I run terminal commands on my Ubuntu host from host Mac?

From Dev

how can I access my server from outside of my lan?

From Dev

How can I "reboot" my Clipboard so I can copy/paste between host and RDP again?

From Dev

How do I setup my server with https and perl Dancer as a standalone server?

From Dev

How to establish a Server PC to host my website?

From Dev

Am I secured if I use http proxy with https website, and how I can check if my proxy is https or http?

From Dev

How can I manage the DNS records of my website, which I host at home?

From Dev

How can i go to my website without typing "https://" in url. My website is hosted on aws cloudfront

From Dev

How can I redirect my 'http' URLs to my new 'https' URL (Redirect 301)?

From Dev

I can not connect to https waitress wsgi server

From Dev

I can not connect to https waitress wsgi server

Related Related

  1. 1

    How can I use my host, a regular dream host acct as a node server?

  2. 2

    How can i know what is the host name of my database on my server

  3. 3

    How can I host my own website

  4. 4

    How can I host my own website

  5. 5

    How can I host my own Parse Server on Heroku using MongoDB?

  6. 6

    How can i setup my wamp server to access to a virtual Host from intranet?

  7. 7

    Deleted action dispatch by mistake, how to get it back correctly so that i can load my local host server properly?

  8. 8

    How can I host my API and web app on the same domain?

  9. 9

    How can I check if cgroups are available on my Linux host?

  10. 10

    How to host a website with database having server as my Laptop for free and which has a https link?

  11. 11

    How can I find my DHCP server?

  12. 12

    How can I be sure that my server is not virtualised?

  13. 13

    How can I find my DHCP server?

  14. 14

    How can I host a LAN server on an Android device?

  15. 15

    How can i get my website to display as https://www

  16. 16

    How can i enable HTTPS over a Snap server?

  17. 17

    How can I run a https server on Heroku with docker?

  18. 18

    How can a I redirect an HTTPS request to a HTTP server?

  19. 19

    How can I run terminal commands on my Ubuntu host from host Mac?

  20. 20

    how can I access my server from outside of my lan?

  21. 21

    How can I "reboot" my Clipboard so I can copy/paste between host and RDP again?

  22. 22

    How do I setup my server with https and perl Dancer as a standalone server?

  23. 23

    How to establish a Server PC to host my website?

  24. 24

    Am I secured if I use http proxy with https website, and how I can check if my proxy is https or http?

  25. 25

    How can I manage the DNS records of my website, which I host at home?

  26. 26

    How can i go to my website without typing "https://" in url. My website is hosted on aws cloudfront

  27. 27

    How can I redirect my 'http' URLs to my new 'https' URL (Redirect 301)?

  28. 28

    I can not connect to https waitress wsgi server

  29. 29

    I can not connect to https waitress wsgi server

HotTag

Archive