Re: (Maybe)OT: Apache22 mod_rewrite question

2009-07-24 Thread Gregory T Helton
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-unsubscr...@freebsd.org"

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

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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


(Maybe)OT: Apache22 mod_rewrite question

2009-07-23 Thread Jason Garrett
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-unsubscr...@freebsd.org"