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/

Re: [users@httpd] whre is SSLCertificateFile and SSLCertificateKeyFile directive

2011-10-10 Thread prabhu kalyan rout
Thanks for the information Mark. On Mon, Oct 10, 2011 at 7:12 PM, Mark Montague wrote: > On October 10, 2011 9:11 , prabhu kalyan rout wrote: >> >> what i mean in my previous mail is which file i can find the >> directives. i came to know that we can find them in >> /etc/httpd/conf/apache.conf o

Re: [users@httpd] whre is SSLCertificateFile and SSLCertificateKeyFile directive

2011-10-10 Thread Mark Montague
On October 10, 2011 9:11 , prabhu kalyan rout wrote: what i mean in my previous mail is which file i can find the directives. i came to know that we can find them in /etc/httpd/conf/apache.conf or /etc/httpd/conf.d/ssl.conf file. but both the files are not present in my machine. i need to edit t

Re: [users@httpd] whre is SSLCertificateFile and SSLCertificateKeyFile directive

2011-10-10 Thread prabhu kalyan rout
Hi Eric, what i mean in my previous mail is which file i can find the directives. i came to know that we can find them in /etc/httpd/conf/apache.conf or /etc/httpd/conf.d/ssl.conf file. but both the files are not present in my machine. i need to edit the file to update with my certificate and priva

Re: [users@httpd] whre is SSLCertificateFile and SSLCertificateKeyFile directive

2011-10-10 Thread Eric Covener
On Mon, Oct 10, 2011 at 7:02 AM, prabhu kalyan rout wrote: > Hi, > I was trying to see how apache works with https. I need to store the > server certificate and key in a location and mention the path with > SSLCertificateKeyFile and SSLCertificateFile directive. > > Can anybody tell me where to fi

[users@httpd] whre is SSLCertificateFile and SSLCertificateKeyFile directive

2011-10-10 Thread prabhu kalyan rout
Hi, I was trying to see how apache works with https. I need to store the server certificate and key in a location and mention the path with SSLCertificateKeyFile and SSLCertificateFile directive. Can anybody tell me where to find the directives. Thanks ---