Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Mark Montague
On October 10, 2011 15:04 , Matt wrote: Is there a way to do something like this? AuthName "Restricted Area" AuthType Basic AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null require valid-user Yes, but not using that syntax. I basically want to require a password everywhere but on r

Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Matt
Is there a way to do something like this? AuthName "Restricted Area" AuthType Basic AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null require valid-user I basically want to require a password everywhere but on robots.txt and the downloads folder. I want to still require encryption and li

Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Mark Montague
On October 10, 2011 13:35 , Matt wrote: One other thing though. Suppose I want to exempt certain directories from requiring a password but still leave all remaining restrictions. I have this there: AuthName "Restricted Area" AuthType Basic AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/nul

Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Matt
> On October 10, 2011 12:45 , Matt 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

Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Mark Montague
On October 10, 2011 12:45 , Matt 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?

[users@httpd] Allowing Robots.txt

2011-10-10 Thread Matt
In .htaccess I have something like this: order allow,deny allow from 192.168.x.x/24 allow from all RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} / RewriteRule ^(.*)$ https://mydomain49459302.com/$1 [R,L] AuthName "Restricted Area" AuthType Basic AuthUserFile /var/