On October 10, 2011 12:45 , Matt <lm7...@gmail.com> wrote:
I want to restrict http access to the server to certain subnets, require SSL and a username and password. The exception is the robots.txt file. I want to allow anyone access to that. How do I tell it not to enforce a password or SSL only on robots.txt?
Use the "Satisfy any" directive so that httpd will accept EITHER the host-based access control ("Allow from all") OR the user authentication ("Require valid-user") instead of requiring both of them as it does by default ("Satisfy all"). See the example at https://httpd.apache.org/docs/2.2/mod/core.html#satisfy
-- Mark Montague m...@catseye.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org