(Maybe)OT: Apache22 mod_rewrite question

Gregory T Helton gt at fallendusk.org
Fri Jul 24 14:04:28 UTC 2009


On Thu, 23 Jul 2009 23:33:03 -0500
Jason Garrett <kingedgar at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

I do this with mercurial, it's quite simple.

ScriptAliasMatch ^(.*)        /full/path/hg/www/hgwebdir.cgi$1



More information about the freebsd-questions mailing list