SyntaxFix
Write A Post
Hire A Developer
Questions
This should do the job. It provides the client IP address (remote host).
Note that this code is running on the server side.
from mod_python import apache req.get_remote_host(apache.REMOTE_NOLOOKUP)