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

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

Volkan Senguel-mit -
Antal besvarelser: 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

Gennemsnitsbedømmelse: -
I svar til Volkan Senguel

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

Tim Hunt-mit -
Core developers-ip assinga Documentation writers-ip assinga Particularly helpful Moodlers-ip assinga Peer reviewers-ip assinga Plugin developers-ip assinga

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.

I svar til Tim Hunt

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

Volkan Senguel-mit -

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

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