Attendance with reverse proxy

Attendance with reverse proxy

by diego oliveira -
Number of replies: 2
Is it possible to use Attendance restriction by IP address when the server is behind a reverse proxy?
Average of ratings: -
In reply to diego oliveira

Re: Attendance with reverse proxy

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of 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.
Average of ratings: Useful (2)