Link to home
Start Free TrialLog in
Avatar of xfvgdrthbdtyvhgscv
xfvgdrthbdtyvhgscv

asked on

htaccess - allow from IP xxx, OR require valid user?

Hello Experts,

Can someone please help with composing an htaccess file?   The logic I need is:

- allow anyone from IP xxx.xxx.xxx, or yyy.yyy.yyy or zzz.zzz.zzz
- if not from any of those IPs, require a valid user

Thanks
Avatar of yuzh
yuzh

Avatar of xfvgdrthbdtyvhgscv

ASKER

Thank you for the reference.  I'll give it a read.  Right now, though, could I trouble you for just the few lines of code?
ASKER CERTIFIED SOLUTION
Avatar of kpmartin
kpmartin
Flag of United States of America 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