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 3BD2811965 for ; Wed, 27 Aug 2014 19:08:24 +0000 (UTC) Received: (qmail 64886 invoked by uid 500); 27 Aug 2014 19:08:18 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64851 invoked by uid 500); 27 Aug 2014 19:08:18 -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 64841 invoked by uid 99); 27 Aug 2014 19:08:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 19:08:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yehuda@ymkatz.net designates 209.85.223.169 as permitted sender) Received: from [209.85.223.169] (HELO mail-ie0-f169.google.com) (209.85.223.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 19:07:51 +0000 Received: by mail-ie0-f169.google.com with SMTP id rd18so852890iec.14 for ; Wed, 27 Aug 2014 12:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymkatz.net; s=g; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=R1MIPa01OcQrwYLosFrUivVwioOKGVaRnz1d6kioTzc=; b=ZnwaZbT5qh4tpOT+NVSBESj3kL1AAIzGpUoCk2XGm1FJ82wQt50PdK53Kk2Qt4uAuG jv8ZvBYLpbXrKVErm4N3Mc9i4/x686idgQUrscobRNOELnLr/hglKojhXa4/Wkp1JEiF PkZ2RpTQ15qqlvk0D/6JkZdKGWZnf5Ztw+pmU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=R1MIPa01OcQrwYLosFrUivVwioOKGVaRnz1d6kioTzc=; b=GCvGBQXXI/5d9/McgiRXFdzfzxjxOlv4OsPDy2BiQl5QlgaDX/HfUWe+QMlyTa9y5V FDK3SrMGk3BeeIksn/ZnwWOkbUSuSajGQKr8FHpzmB8bkh9epyK8nDgTminB0mX2Q7W6 1cgrPyzbLMHHEmptlj8WAKCx7Km5xkXmD/aG5f6/1wO/kzA1KCb2ZftmYuZ97yTywAEM hLI/ofNaL+BHYkDr0kGeudU2o/C8wp5qRbgQSCHeCclpSkr9MBOiUz2zkKgr90XbN0Pl AoXFlmPRFYUxwa4C2Pygk6cLH/ps92unrPxXwHT/KZeduhykDiDmUGQH+TAxbrglbVU3 qh9A== X-Gm-Message-State: ALoCoQmgMNzWGzfYKp6CVuzIdzksCMOZDjqP8ZN8Ux4zT2aZqCwImq6f+ynqicvnFyBiZm438/uE X-Received: by 10.43.107.68 with SMTP id dx4mr37970159icc.34.1409166469919; Wed, 27 Aug 2014 12:07:49 -0700 (PDT) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx.google.com with ESMTPSA id o20sm6359467igw.11.2014.08.27.12.07.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Aug 2014 12:07:49 -0700 (PDT) Received: by mail-ie0-f174.google.com with SMTP id rp18so822786iec.5 for ; Wed, 27 Aug 2014 12:07:49 -0700 (PDT) X-Received: by 10.50.36.38 with SMTP id n6mr31924813igj.24.1409166469227; Wed, 27 Aug 2014 12:07:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.144.2 with HTTP; Wed, 27 Aug 2014 12:07:29 -0700 (PDT) In-Reply-To: <755B8B84-014A-47F7-B2D0-74083D0B0CA8@GilDawson.com> References: <755B8B84-014A-47F7-B2D0-74083D0B0CA8@GilDawson.com> From: Yehuda Katz Date: Wed, 27 Aug 2014 15:07:29 -0400 Message-ID: To: "users@httpd.apache.org" Content-Type: multipart/alternative; boundary=089e013c69bed3eea70501a12247 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Directory fetch? --089e013c69bed3eea70501a12247 Content-Type: text/plain; charset=UTF-8 That means it served what ever your DirectoryIndex is. The default is usually index.html or something similar. If you set "DirectoryIndex disabled" (in Apache 2.4), Apache won't look for any file. If mod_autoindex is loaded, it could also serve a directory listing. You could disable it or you could add "Options -Indexes" to your Directory configuration. On Wed, Aug 27, 2014 at 2:43 PM, Gil Dawson wrote: > When my access log shows that an unrecognized IP address requested... > > "GET / HTTP/1.0" 200 322 > > ...does that mean that I served it my top-level directory? > > If so, can Apache prohibit that request from succeeding? > > I want to serve the files when requested, if the client knows the file > name *a priori*, but not the whole directory. > > --Gil > > > --089e013c69bed3eea70501a12247 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That means it served what ever your DirectoryIndex is. The= default is usually index.html or something similar.
If you set "D= irectoryIndex disabled" (in Apache 2.4), Apache won't look for any= file.

If mod_autoindex is loaded, it could also serve a direc= tory listing.=C2=A0
You could disable it or you could add "O= ptions -Indexes" to your Directory configuration.



On Wed, Aug 2= 7, 2014 at 2:43 PM, Gil Dawson <Gil@gildawson.com> wrote:
When my access log shows that an unreco= gnized IP address requested...

"GET / HTTP/1.0" 200 322

...does that mean that I served it my top-level directory?
<= br>
If so, can Apache prohibit that request from succeeding? =C2= =A0=C2=A0

I want to serve the files when requested= , if the client knows the file name a priori, but not the whole dire= ctory.

--Gil


--089e013c69bed3eea70501a12247--