Hi Team,
I do follow the post https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-whitelist-ip-throug... but we have a use case where location (like /content/abc) is also required along with IP address to whitelist.
May be if anyone came across such usecase and can share any information would be really helpful.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
For restricting the IP whitelisting based on location you can try to add the IP restriction tags inside the Location URL tag which might help to achieve your usecase
LocationMatch "/content/abc*"
Require ip 10.42.137.123
Require ip 122.6.218.101
#Repeat the "Require ip ..." for each IP you want to allow
/RequireAll
/LocationMatch
couple of links you can refer
https://httpd.apache.org/docs/2.4/mod/core.html#location
https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17455.html?lang=en
For restricting the IP whitelisting based on location you can try to add the IP restriction tags inside the Location URL tag which might help to achieve your usecase
LocationMatch "/content/abc*"
Require ip 10.42.137.123
Require ip 122.6.218.101
#Repeat the "Require ip ..." for each IP you want to allow
/RequireAll
/LocationMatch
couple of links you can refer
https://httpd.apache.org/docs/2.4/mod/core.html#location
https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17455.html?lang=en
Views
Replies
Total Likes
hi @Jayaa
Can you check whether the location/locationMatch directive was picked . Try to give a generic rule like just to make sure its picking to start with debugging
<Location "/"> AllowOverride None <RequireAny> Require ip 192.168.1.1 ... </RequireAny> </Location>
Views
Replies
Total Likes
Views
Likes
Replies