Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 10:04:31 -0400
From:      Gregory T Helton <gt@fallendusk.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: (Maybe)OT: Apache22 mod_rewrite question
Message-ID:  <20090724100431.1925f575@elune.fallendusk.org>
In-Reply-To: <970380130907232133h6e96ed2dr2a2f3836a2ea22bd@mail.gmail.com>
References:  <970380130907232133h6e96ed2dr2a2f3836a2ea22bd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Jul 2009 23:33:03 -0500
Jason Garrett <kingedgar@gmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090724100431.1925f575>