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
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
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
> 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 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?
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/
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
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
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
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
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
---
11 matches
Mail list logo