Zope Zone Navigation
 
Document Actions
  • Print this page
  • Add Bookmarklet

How do I get the REMOTE_ADDR behind Apache (or Squid)?

Up to Table of Contents

How do I get the REMOTE_ADDR behind Apache (or Squid)?

If you are running behind Apache or Squid the REMOTE_ADDR will be that of the Apache server. To get the client IP address use HTTP_X_FORWARDED_FOR.

Example: <dtml-var HTTP_X_FORWARDED_FOR>

 

Home Help Center Zope & Plone FAQs How do I get the REMOTE_ADDR behind Apache (or Squid)?