Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Mixed Content (HTTP/HTTPS) in TheoryAndPractice #18

Open
pablodecm opened this issue Jan 30, 2024 · 2 comments
Open

Problem with Mixed Content (HTTP/HTTPS) in TheoryAndPractice #18

pablodecm opened this issue Jan 30, 2024 · 2 comments

Comments

@pablodecm
Copy link

pablodecm commented Jan 30, 2024

Hi Kyle @cranmer, I was actually in the process of updating my old Pelican webpage and remember that you also had a Pelican-based webpage. So I checked our your page and repository to see how you have dealt with the Python environment updates and what were you using now.

While checking it out, I discovered that there is a problem with mixed content in that basically prevents people with the default configuration in modern browsers to access https://theoryandpractice.org as a properly styled page, see example screenshot:

image

I think it should be relatively easy to fix, mainly the I believe only required change is changed the external dependencies from the same root to https:// instead of http://.

image

Not sure wether this was caused by a environment configuration in the last deployment or is actually some problem due to the legacy Python libraries or environment, but I just wanted to tell you in case you were not aware.

@cranmer
Copy link
Owner

cranmer commented Jan 30, 2024 via email

@pablodecm
Copy link
Author

Indeed, moving to a different solution can be some work if you are using different plugins and you have a significant amount of content (and you do).

I have not tried it yet, but I have heard good things about https://quarto.org/ and they support all (or at least) of the things you would want out the box I think.

Probably you thought about this, but a poor man's solution (or rather a busy man's solution) that I estimate that will take you less than 15 mins and get the page https://theoryandpractice.org back to working order would be:

Have a good day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants