- - Code, Content, and Presentation
- -- Apache Web Server
- ---- htaccess: Block IP range, but allow certain user agents within.
g1smd - 5:54 pm on Dec 17, 2012 (gmt 0)
Yes. Use another preceding RewriteCond with the additional test.
Block access if the request is the big block and NOT the small block.
Block access if the request is the big block and NOT the required user agent.
Use a ! for "not".
Thread source: http://www.webmasterworld.com/apache/4529025.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com