Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A47A97A5D for ; Mon, 10 Oct 2011 16:45:59 +0000 (UTC) Received: (qmail 64163 invoked by uid 500); 10 Oct 2011 16:45:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64120 invoked by uid 500); 10 Oct 2011 16:45:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 64112 invoked by uid 99); 10 Oct 2011 16:45:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 16:45:56 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lm7812@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 16:45:49 +0000 Received: by bkbzv15 with SMTP id zv15so10771174bkb.18 for ; Mon, 10 Oct 2011 09:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=7pppvT53sydgfEOVylPhlQBw2WdK/eBQW9G5O3TGcJA=; b=oquBkK2IKzvOxug6xQ6getwXVaegodFp6TDR39favhoqLZC6KfOjz+OjcaIyRSaQQh 0QbQvTz3VL6lWMvYkHQGBOqF4KLX3fh0bHv4ppAjyMuCIHzRMbLPtA0BgWuFdFJUAMt8 PTDSLYLpaXXuEFK6otiYZYBSYeNUDxUesFg0U= MIME-Version: 1.0 Received: by 10.204.134.25 with SMTP id h25mr7022591bkt.2.1318265129608; Mon, 10 Oct 2011 09:45:29 -0700 (PDT) Received: by 10.204.114.76 with HTTP; Mon, 10 Oct 2011 09:45:29 -0700 (PDT) Date: Mon, 10 Oct 2011 11:45:29 -0500 Message-ID: From: Matt To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Allowing 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/www/.htpasswd AuthGroupFile /dev/null require valid-user 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? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org