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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.evolt.org/ultim
pay attention to "Satisfy Any" in:
http://www.usask.ca/its/courses/cai/htaccess/satisfyany.html
http://www.askapache.com/htaccess/htaccess.html