First time here? Check out the FAQ!
3

External http references in css and js files when serving askbot via ssl

Where can I find the references below in the style/js files?
When I run my askbot application under secure ssl/https I get an error because it draws these fonts from an http source. I'd like to change them to a https request if possible.

http://themes.googleusercontent.com/static/fonts/yanonekaffeesatz/v4/We_iSDqttE3etzfdfhuPRbJjSLMfVFmTspsxH0yGxjj3rGVtsTkPsbDajuO5ueQw.woff

http://themes.googleusercontent.com/static/fonts/yanonekaffeesatz/v4/We_iSDqttE3etzfdfhuPRbHVephy08vG3A_n649omsL3rGVtsTkPsbDajuO5ueQw.woff

http://themes.googleusercontent.com/static/fonts/yanonekaffeesatz/v4/YDAoLskQQ5MOAgvHUQCcLQa6gm6bS00u2Qn-iPLo1Go.woff

updated 2012-07-24 16:20:47 -0600
This post is a wiki. Anyone with karma >100 is welcome to improve it.
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Try the latest code from the master branch. I've added locally stored font.

Also add to settings.py:

ASKBOT_USE_LOCAL_FONTS = True
Evgeny's avatar
13.2k
Evgeny
answered 2012-07-24 22:08:02 -0600
edit flag offensive 0 remove flag delete link

Comments

1

I've found that there are still http references for:

  • gravitar;
  • jquery; and
  • google fonts

I've made a branch from current master that selects the secure version of these:

https://github.com/jtrain/askbot-devel/tree/load-ssl

Jtrain's avatar Jtrain (2012-08-19 12:42:25 -0600) edit

@Evgeny Is it posiible to add @Jtrain 's improvements to the master branch?

Toms's avatar Toms (2012-08-21 04:51:47 -0600) edit

@Jtrain, does that solution work when the site is hosted on http, not https?

Evgeny's avatar Evgeny (2012-08-21 10:56:49 -0600) edit
add a comment see more comments