Moodle на Apache: два виртуальных хоста с единственным входом в систему

Ваша текущая запись авторизовывает серверы Google. ~all говорит системам SPF, что серверы, не явно авторизованные, должны softfail.

Можно или изменить запись SPF так, чтобы она включала IP-адреса веб-приложения или замену ~all часть с ?all (не рекомендуемый)

Я думаю, что это посмотрело бы что-то как:

v=spf1 ip4:11.11.111.11 include:_spf.google.com ~all

Однако можно, вероятно, найти веб-страницу, которая может помочь Вам изобразить его самим: например, существует http://old.openspf.org/wizard.html

2
задан 18 October 2012 в 18:14
1 ответ

Это верно для всех веб-приложений, но в основном Cookie paths are likely to be defined

You say you have a moodle installation, so I assume you have only one installation and you are accessing it through 2 different virtual hosts which point to the same directory on disk, right?

I've been skimming through the Moodle code and the only reference I found to cookies paths is in /lib/cookies.js. Maybe that launches you in the right direction. In any case, once you get rid of the path part, and given you're on the same domain, you will be able to connect to one or another freely once you logged in into one of them.

0
ответ дан 3 December 2019 в 15:36

Теги

Похожие вопросы