How to remove the static http from the html code? 1.91

How to remove the static http from the html code? 1.91

autor Volkan Senguel -
Počet odpovědí: 2

Hi, how can i remove the website path including http:// in the html code?

I can not use ssl (https) for the site, just only for the loginpage.

All other pages over https show no images, style sheets etc. because the file links are all not relative...!?

How to fix that, anyone a idea?

Thank you for any help
Volkan

Průměr hodnocení: -
V odpovědi na Volkan Senguel

Re: How to remove the static http from the html code? 1.91

autor Tim Hunt -
Obrázek: Core developers Obrázek: Documentation writers Obrázek: Particularly helpful Moodlers Obrázek: Peer reviewers Obrázek: Plugin developers

You need to follow parts of the advice on Moodle_migration. That page is about moving your Moodle site from one server to another. You don't need to do all of that, but you are doing the bit about changing the URL of your Moodle site, including changing it in config.php.

V odpovědi na Tim Hunt

Re: How to remove the static http from the html code? 1.91

autor Volkan Senguel -

Thank you tim for your reply, but unfortunately nothing has changed. all are the same like before mrzutost

I have used the admin/replace.php script to change the db entries from http to https, but it runs in just a few seconds and not described in a few minutes without any error.

On the config.php is change to https://....

I have deleted the browser cache and restarted the hole server.
I have tryed with the setting to logon with a secured site and without one....

Its every time the same.

Why can moodle not use relative links in all the documents, like a normal web site?

Any other idea tim?

Thank you
Volkan