Link to home
Start Free TrialLog in
Avatar of willa666
willa666Flag for United States of America

asked on

acces allow via IP or user agent

I have a directive that allows access to a site from only a couple of IP addresses, this works fine.

However I want to be able to allow access for people from the IP addreses allready defined and also users that have a specific user-agent.

I have found the deriective for user agent and allready have the code IP addresses but i need to allow ether to access the site.

Ww
ASKER CERTIFIED SOLUTION
Avatar of caterham_www
caterham_www
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of willa666

ASKER

Hi caterham_www

Will this allow access from one or the other? or will this only allow access to people from thisIP address and tthat also have the user agent?

Ww

That should work as expected, either user-agent or IP. Or do you encounter problems?