Q: How to restrict access by both the remote IP address the X-FORWARD-FOR
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Q: How to restrict access by both the remote IP address the X-FORWARD-FOR




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Q: How to restrict access by both the remote IP address the X-FORWARD-FOR  
mva.led@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-06-06 06:26 PM

Hello,

I like to know if there's a way to tell Apache to allow access only
from a specific IP (that in my scenario is a Proxy) and from that IP if
the header X-Forwarded-for is set to another specific address.

I don't know if the following would work (the docs are not clear
enough):

SetEnvIf X-Forwarded-for ^192.168.0.1 HIDDEN-ADDRESS-OK

Order allow,deny
Allow from my.proxy.com env=HIDDEN-ADDRESS-OK
Deny from all

Best regards,
Manuel.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:23 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register