Attendance with reverse proxy

Attendance with reverse proxy

από diego oliveira -
Αριθμός απαντήσεων: 2
Is it possible to use Attendance restriction by IP address when the server is behind a reverse proxy?
Μέσος όρος βαθμολογίας: -
Σε απάντηση σε diego oliveira

Re: Attendance with reverse proxy

από Dan Marsden -
Φωτογραφία Core developers Φωτογραφία Particularly helpful Moodlers Φωτογραφία Peer reviewers Φωτογραφία Plugin developers Φωτογραφία Plugins guardians Φωτογραφία Testers Φωτογραφία Translators
The Attendance plugin uses the Moodle core API "Getremoteaddr" to obtain the users IP address - which uses the site level setting getremoteaddrconf to control how it obtains the users ip address - you can find this under Administration > Server > HTTP

Basically if you check your standard Moodle logs reports - if you see everyone with the same ip adress (your reverse proxy IP) then it won't work - if you can see different IP addresses listed, then Attendance should work fine.