From owner-freebsd-questions Tue Jul 17 23:57:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from home.sasknow.net (stimpy.sasknow.net [207.195.92.134]) by hub.freebsd.org (Postfix) with ESMTP id C03C637B406 for ; Tue, 17 Jul 2001 23:57:21 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by home.sasknow.net (8.11.3/8.11.3) with ESMTP id f6I11d800549; Wed, 18 Jul 2001 01:01:39 GMT (envelope-from ryan@sasknow.com) X-Authentication-Warning: home.sasknow.net: ryan owned process doing -bs Date: Wed, 18 Jul 2001 01:01:39 +0000 (GMT) From: Ryan Thompson X-X-Sender: To: BSD Freak Cc: FreeBSD Questions Subject: Re: .htaccess with name based virtual hosts In-Reply-To: <2819f4283b54.283b542819f4@mbox.com.au> Message-ID: <20010718005634.D514-100000@home.sasknow.net> Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG BSD Freak wrote to FreeBSD Questions: > Hi everyone... > > I have encountered a problem on my FreeBSD 4.3 box (running Apache 1.3 > + mod_ssl). .htaccess is ignored when using name based virtual > hosts.... anyone encountered / fixed this issue? In the virtual host record, you need to use the "AllowOverride" feature. Often, this is set to "None", meaning .htaccess will indeed be ignored. Consult the apache documentation for valid arguments to "AllowOverride". One such example is AllowOverride All Which parses all kinds of settings in .htaccess, which you may not want to do for security reasons. You can also specify AllowOverride on a per- directory basis within a virtual host container, if you need more granularity. - Ryan > > Thanx > > --------------------------------------------- > Receive faxes 24x7, no second line necessary. > http://www.mbox.com.au/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message