Forum Discussion

mmilne_61613's avatar
mmilne_61613
Icon for Nimbostratus rankNimbostratus
Dec 10, 2010

iRule to determine FQDN of Web Client??

Hi Guys,

 

 

Can anybody suggest something to allow me to capture the FQDN of the requesting client and send it through to the HTTP/HTTPS server?

 

 

We're already sending the client IP address using X-Forwarded for in an iRule, but a few user sites have .htaccess files with allow from statements using domain names i.e. allow microsoft.com.

 

 

Right now the server is not behind the F5 and the allow in .htaccess forces the Apache server to do a reverse lookup of the IP address of the connecting client.

 

 

Any ideas???

 

 

thanks

 

Mike

 

 

 

1 Reply

  • Hi Mike,

     

     

    There's a codeshare example which sounds close to what you're looking for. Take a look at that and let us know if you have any questions:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Block_requests_by_reverse_DNS_record.html

     

     

    Aaron