Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 37034 invoked by uid 500); 26 Jun 2003 08:07:03 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 37016 invoked from network); 26 Jun 2003 08:07:02 -0000 Received: from corporate.fx.ro (193.231.208.29) by daedalus.apache.org with SMTP; 26 Jun 2003 08:07:02 -0000 Received: from mail.fx.ro (mail4.fx.ro [193.231.208.4]) by corporate.fx.ro (8.12.9/8.12.7) with ESMTP id h5Q87EIr014104 for ; Thu, 26 Jun 2003 11:07:14 +0300 Received: from speedy (c-14-163.fx.ro [195.7.14.163]) by mail.fx.ro (8.12.9/8.12.3) with SMTP id h5Q87CBd011437 for ; Thu, 26 Jun 2003 11:07:13 +0300 From: To: Date: Thu, 26 Jun 2003 11:06:50 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20030625195809.A26310@pauillac.inria.fr> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-RAVMilter-Version: 8.4.3(snapshot 20030212) (mail) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Hiding file extensions using htaccess I tested your config on my machine and it works as expected. I tested only the 3 lines you sent but not the previous redirect to http://students.iiit.net/~deepak_r/$1 so probably that's where the problem is. If I were you, I'd try to get rid of the RewriteBase directive to see what's happening. Also, the RewriteCond %{REQUEST_FILENAME} !-d is kind of useless, or better said redundant (imho). I took it out and works ok again. hth, Lian > -----Original Message----- > From: Rajasekaran Deepak [mailto:deepak_r@students.iiit.net] > Sent: Wednesday, June 25, 2003 8:58 PM > To: users@httpd.apache.org > Subject: [users@httpd] Hiding file extensions using htaccess > > > I want to hide file extensions. MultiViews is enabled but it > doesn't seem to be working. I had attached a copy of httpd.conf > with a previous mail. My htaccess file contains: > > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME}\.shtml -f > RewriteRule ^(.*)$ $1.shtml > > But the above lines do not allow files to be accessed without > the ".shtml" extension. Could you tell me what the mistake in my > htaccess file is? A soft link to the whole htaccess file is at: > > http://students.iiit.net/~deepak_r/htaccess > > Thanks in advance, > Rajasekaran Deepak > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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