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

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

door Volkan Senguel -
Aantal antwoorden: 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

Gemiddelde van de beoordelingen:  -
Als antwoord op Volkan Senguel

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

door Tim Hunt -
Foto van Core developers Foto van Documentation writers Foto van Particularly helpful Moodlers Foto van Peer reviewers Foto van 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.

Gemiddelde van de beoordelingen:  -
Als antwoord op Tim Hunt

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

door Volkan Senguel -

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

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

 

Gemiddelde van de beoordelingen:  -