Avatar of Member_2_5912282
Member_2_5912282
 asked on

Allow 2 paths only for few Ips

Hi Expert,
I have few ips where only those Ips  needs to access /bin/xyz/.*\.html and /bin/acbc/.*\.html. Apart from that if any Ips access the path , they need to get "page not found " error.

Using Apache 2.2.
Apache Web Server

Avatar of undefined
Last Comment
Member_2_5912282

8/22/2022 - Mon
Member_2_5912282

ASKER
any help ?
gr8gonzo

Use htaccess files to control this. The remote IP is stored in the REMOTE_ADDR server environment variable.
ASKER CERTIFIED SOLUTION
gr8gonzo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Member_2_5912282

ASKER
great
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy