From owner-freebsd-questions@FreeBSD.ORG Mon Jul 13 02:39:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87FBB106567C for ; Mon, 13 Jul 2009 02:39:42 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from mail.geekdelivery.com (mail.geekdelivery.com [206.75.152.197]) by mx1.freebsd.org (Postfix) with ESMTP id 5C66E8FC1A for ; Mon, 13 Jul 2009 02:39:41 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from localhost (localhost [127.0.0.1]) by mail.geekdelivery.com (Postfix) with ESMTP id 817FB1A99EB for ; Sun, 12 Jul 2009 20:39:41 -0600 (MDT) Received: from mail.geekdelivery.com ([127.0.0.1]) by localhost (wserver.geekdelivery.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1XYPl-SFvoR for ; Sun, 12 Jul 2009 20:39:41 -0600 (MDT) Received: from dev.localnet (S010600179a299839.lb.shawcable.net [70.65.137.146]) by mail.geekdelivery.com (Postfix) with ESMTPA id E845A1A99E6 for ; Sun, 12 Jul 2009 20:39:40 -0600 (MDT) From: Ray To: freebsd-questions@freebsd.org Date: Sun, 12 Jul 2009 20:39:39 -0600 User-Agent: KMail/1.11.2 (Linux/2.6.28-13-generic; KDE/4.2.2; x86_64; ; ) References: <200907121709.25015.ray@stilltech.net> <200907121903.16069.ray@stilltech.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907122039.40100.ray@stilltech.net> Subject: Re: activate apache mod_rewrite (solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 02:39:42 -0000 On July 12, 2009 07:47:51 pm Michael Powell wrote: > http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html > > Various ways of utilizing it as it is very flexible, depending on your > particular requirements. It usually involves at least a RewriteEngine On > directive somewhere. Some can use it in an .htaccess but those who are > running multiple vhosts may need something like this for each vhost: > > RewriteEngine On > RewriteOptions Inherit looks like the second line (RewriteOptions Inherit) was missing seems I didn't read this section of of the docs close enough. :( thanks for your help. Ray > > See the section in the docs. Usually there are two other directives used to > configure functionality after activating it. You will usually have one, or > more, RewriteCond conditions which when evaluated run through a RewriteRule > of some kind. Brush up on your Apache regex handling! There are cheat > sheets around the web, easily Googled up. > > mod_rewrite is not easy and can have you pulling your hair out. If you are > using a software that requires it the docs should have a cut and paste > config that can get you started. Trying to figure it out from scratch > without knowing what is needed will be next to impossible. > > -Mike > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"