Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 48001 invoked from network); 2 Nov 2007 00:43:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 00:43:04 -0000 Received: (qmail 2749 invoked by uid 500); 2 Nov 2007 00:42:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 2729 invoked by uid 500); 2 Nov 2007 00:42:42 -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 2709 invoked by uid 99); 2 Nov 2007 00:42:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 17:42:42 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jlforrest@berkeley.edu designates 128.32.61.106 as permitted sender) Received: from [128.32.61.106] (HELO smtp-out1.berkeley.edu) (128.32.61.106) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 00:43:00 +0000 Received: from bender.cchem.berkeley.edu ([128.32.50.5]) by fe4.calmail with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (auth plain:jlforrest@berkeley.edu) (envelope-from ) id 1Inkc8-0001ZA-EG for users@httpd.apache.org; Thu, 01 Nov 2007 17:42:20 -0700 Message-ID: <472A7327.2050209@berkeley.edu> Date: Thu, 01 Nov 2007 17:45:27 -0700 From: Jon Forrest User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@httpd.apache.org References: <472A6BAE.7020609@berkeley.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Very Puzzling Question About mod_rewrite Joshua Slive wrote: > Likely because your Options directive is applied by-url rather than > by-directory. > > You need > > Options +Indexes > > > Or you need to find the Options directive that currently applies to > those directories and add Indexes. Thanks. After doing what you suggest I can see a directory listing of http://www-demo.cchem.berkeley.edu/username/ which shows the index.html file. However, if I click on index.html I get a "404 Not Found" error, and the error log says File does not exist: /users/chemweb/apache2/http-cchem/htdocs/username/index.html The rewrite log says: (2) init rewrite engine with requested uri /username/index.html (3) applying pattern '^(.+)$' to uri '/username/index.html' (2) rewrite '/username/index.html' -> '/username/index.html/public_html/' (2) local path result: /username/index.html/public_html/ (2) prefixed with document_root to /users/chemweb/apache2/http-cchem/htdocs/username/index.html/public_html/ I don't think the rewrite rule I'm using is correct. Cordially, -- Jon Forrest Unix Computing Support College of Chemistry 173 Tan Hall University of California Berkeley Berkeley, CA 94720-1460 510-643-1032 jlforrest@berkeley.edu --------------------------------------------------------------------- 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