Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Location
    GERMANY
    Posts
    152
    Thanks
    30
    Thanked 1 Time in 1 Post

    Error when opening website via https instead of http

    Hey guys,

    I am not sure if this is the correct category, if it's not please don't kill me!

    I have a strange problem, when I open my website in https it does not display the website correctly, for example there is no css applied at all, just images and text. If I open it in http it displays correctly. I am not sure what the problem could be?

    EDIT:
    Could it be because the browser is opening the website in a secure form and does not allow the website to call unsecure links? Because the .css file is associated with a http domain and not https and that's maybe why the website does not display correctly?
    Last edited by OGGordon; 11-09-2015 at 08:31 AM.

  2. #2
    Regular Coder Vege's Avatar
    Join Date
    Jan 2008
    Posts
    435
    Thanks
    9
    Thanked 47 Times in 47 Posts
    Quote Originally Posted by OGGordon View Post
    Hey guys,

    I am not sure if this is the correct category, if it's not please don't kill me!

    I have a strange problem, when I open my website in https it does not display the website correctly, for example there is no css applied at all, just images and text. If I open it in http it displays correctly. I am not sure what the problem could be?

    EDIT:
    Could it be because the browser is opening the website in a secure form and does not allow the website to call unsecure links? Because the .css file is associated with a http domain and not https and that's maybe why the website does not display correctly?
    Yes. https page cannot have content provided with http url
    Links yes. But not something that is displayed in the page. Images, CSS-files, javascript files etcetera.
    Don't use old mysql library
    The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets
    Test your POST and GET (forms) against string <'"&><हिन्दी It will detect syntax sql-injections, simple XSS injections and utf8 problems.

  3. #3
    Regular Coder
    Join Date
    Oct 2009
    Location
    GERMANY
    Posts
    152
    Thanks
    30
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Vege View Post
    Yes. https page cannot have content provided with http url
    Links yes. But not something that is displayed in the page. Images, CSS-files, javascript files etcetera.
    Thank you for your answer!


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •