question

CurtisJustus-6436 avatar image
0 Votes"
CurtisJustus-6436 asked ·

Azure Application Gateway -- Manage Access to Virtual Directory based on IP address

Hi,

We moved our infrastructure from a private cloud to Azure. Previously, we were able to manage access to a virtual directory on a web site based on the client's IP address. Now, we have an application gateway with a load balancer and all requests come from one of those IP addresses. I am able to recognize X-Forwarded-For in the log files, so I know that is getting to the web servers.

We have virtual machines that are hosting many sites for many clients.

How can I configure the following:

https://site.foo.com -- access to everybody
https://site.foo.com/virtualOne -- access to only a handful of IP addresses
https://site.foo.com/virtualTwo -- access to everybody

Thank you for your help,
Curt

azure-webappsazure-application-gateway
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered ·

Hello,

Azure Application gateway do not support HTTP header based routing. I would recommend you to up-vote this feature in feedback section for its future availability.







Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.