Using htaccess block access to a range of URLs except for my IP address
问题 How can I block a range or URL's for all but my IP address. So ... Allow http://mydomain.com/* to all users Block http://mydomain.com/thisdirectoryandallcontents/* to all but my IP I found some code from another site which might work but I don't have the htaccess skills to adapt it Options +FollowSymlinks RewriteEngine on #urls to exclude RewriteCond %{REQUEST_URI} !/url-to-exclude-1$ RewriteCond %{REQUEST_URI} !/url-to-exclude-2$ RewriteCond %{REQUEST_URI} !^/images$ RewriteCond %{REQUEST