From owner-freebsd-questions@FreeBSD.ORG Fri Jul 24 14:04:28 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 1966E106566C for ; Fri, 24 Jul 2009 14:04:28 +0000 (UTC) (envelope-from gt@fallendusk.org) Received: from ysera.fallendusk.org (ysera.fallendusk.org [76.76.101.106]) by mx1.freebsd.org (Postfix) with ESMTP id DD3AA8FC1B for ; Fri, 24 Jul 2009 14:04:27 +0000 (UTC) (envelope-from gt@fallendusk.org) Received: from localhost (localhost.gogax.com [127.0.0.1]) by ysera.fallendusk.org (Postfix) with ESMTP id C613628436 for ; Fri, 24 Jul 2009 14:05:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at fallendusk.org Received: from ysera.fallendusk.org ([127.0.0.1]) by localhost (ysera.fallendusk.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SnRXTBQzCi+E for ; Fri, 24 Jul 2009 14:05:06 +0000 (UTC) Received: from elune.fallendusk.org (unknown [99.32.39.87]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gt@fallendusk.org) by ysera.fallendusk.org (Postfix) with ESMTPSA id 304222842C for ; Fri, 24 Jul 2009 14:05:06 +0000 (UTC) Date: Fri, 24 Jul 2009 10:04:31 -0400 From: Gregory T Helton To: freebsd-questions@freebsd.org Message-ID: <20090724100431.1925f575@elune.fallendusk.org> In-Reply-To: <970380130907232133h6e96ed2dr2a2f3836a2ea22bd@mail.gmail.com> References: <970380130907232133h6e96ed2dr2a2f3836a2ea22bd@mail.gmail.com> Organization: fallenDUSK X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: (Maybe)OT: Apache22 mod_rewrite question 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: Fri, 24 Jul 2009 14:04:28 -0000 On Thu, 23 Jul 2009 23:33:03 -0500 Jason Garrett wrote: > I am starting up a wiki with moinmoin. Currently when I type in > http://mydomain.com it brings me to the main page and the browser > shows http://mydomain.com/moin.cgi. > > When I click on a link from the front page, the browser displays > http://mydomain.com/moin.cgi/SearchedText > > > Basically, I want to remove the moin.cgi and just end up with this > being displayed http://mydomain.com/SearchedText. For a working > example of what I want, just go to http://wiki.freebsd.org. > > > Can this be done with mod_rewrite and/or with apache in general? > _______________________________________________ > 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" I do this with mercurial, it's quite simple. ScriptAliasMatch ^(.*) /full/path/hg/www/hgwebdir.cgi$1