× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Plugin does not display with using SSL Encryption

Penguin replied the topic: Plugin does not display with using SSL Encryption

1 year 6 months ago

Hi Frank,

Thanks for the tips!

It's working now :)

www.one-life-live-it.be/blog/topics/reiz...a-walk-near-zweifall

Please Log in or Create an account to join the conversation.

enigma replied the topic: Plugin does not display with using SSL Encryption

1 year 6 months ago

Hello all,

While I haven't have success resolving the SSL problem working with the plugin settings, I have been working on a work-around (partial success). I have been attempting to create redirects in the .htaccess file of my site. It goes like this:

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^http://garibaldipark2020.com$
RewriteRule .* www.garibaldipark2020.com/maps/wildlife-...P_HOST}%{REQUEST_URI } [R=301,L]

If the site is fully in SSL, I can force those pages that use the plugin into non SSL. I am still fine tuning the solution. When I fully implement this solution, I will report back to this forum on my success or lack-thereof. I have already run into the "too many redirect" problem once or twice, but it seems to be workable.

Chris Ludwig

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Plugin does not display with using SSL Encryption

1 year 6 months ago

Hello,

have you tried Sven's suggestion (two posts down)?
Instead of using "https://" for the script URLs you should
also be fine with just "//" (followed by the rest of the URL).
The browser should then figure out whether to use http or
https by itself.

According to this blog post:
https://blog.openstreetmap.org/2014/02/11/osm-enhances-user-privacy/ ,
the OpenStreetMap servers should work ok with https by now.

One thing you should do is to host the Openlayers Javascript file
locally on your own server. See the documentation on how this
can be done:
http://software.frankingermann.de/gpxtrackmap/gtm-documentation/gtm-options/gtm-advanced-settings

There is also a thread here in the forum that may help:
http://software.frankingermann.de/forum/gpxtrackmap-forum/166-missing-graphics-in-the-map

In short: when your server runs https, everything else your site
loads (all scripts, graphics, especially the map tiles) must
also come from https sources.

When using Chrome (or Firefox with Firebug), you should use the
developer tools and check for any warnings or error messages
when visiting your site. This usually gives a good hint as to what
is going wrong.

(sadly i don't have a https-enabled server to test this myself...)

hth & cheers, Frank

Last Edit: 1 year 6 months ago by fingeradmin.
The following user(s) said Thank You: Penguin, ThierryM

Please Log in or Create an account to join the conversation.

Penguin replied the topic: Plugin does not display with using SSL Encryption

1 year 6 months ago

Same issue here. Love the plugin, but since I went to SSL (https) the map display is gone.

Please Log in or Create an account to join the conversation.

Mr. Svonda replied the topic: Plugin does not display with using SSL Encryption

1 year 7 months ago

the problem are the non-https scripts which are loaded. the most browsers block this mixed-content.

but you can easy replace "http" to "https" at script-source parameters in the advanced plugin settings. i just tried it at my test-site, because i also thought about a changeover to SSL in the next time: dc2.ch/biking_test/blog/2015/67-davos-review-pischa

the google maps works great with this solution. but the Openstreet and Tunderforest maps generate a error message, because the image files are still loading from non-https paths. firefox display the site anyway, since a unencrypted image file is a smaller risk as a script.

best regards
sven

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Plugin does not display with using SSL Encryption

1 year 7 months ago

Hello,

do you mean with https instead of http?

Hmm, i'm no expert here but i think it could
fail because the map tiles are loaded from
non-https servers.

The gpx track url is built from the site url,
so that should automatically become an https
url, but i don't know whether OpenStreetMap
or the map layer you're using supports https.

Does someone else here have experience with
maps on https servers?

cheers, Frank

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum