On Tue, Feb 10, 2009 at 1:05 AM, Bradey Honsinger <brad...@gmail.com> wrote:
> On Mon, Feb 9, 2009 at 5:43 PM, Joe Legner <joeleg...@gmail.com> wrote:
> > I am running MoinMoin 1.8.1 on Webfaction, which runs under
> > Apache (.htaccess only). My main script is named index.cgi.
> >
> > Currently index.cgi appears in all urls:
> >
> > http://www.mysite.com/index.cgi/FrontPage
> >
> > What I want to know is how to configure either MoinMoin or .htaccess so I
> > get the following:
> >
> > http://www.mysite.com/FrontPage
>
> I'm running MoinMoin on Webfaction as well, and doing the same thing.
> You're most of the way there--you just need to updated the properties
> line in index.cgi:
>
> http://forum.webfaction.com/viewtopic.php?pid=6118#p6118
>
> On Moin 1.7.3, it looks like this:
>
> ========
> --- index.cgi~ 2008-11-22 01:08:38.000000000 -0600
> +++ index.cgi 2008-11-22 02:06:33.000000000 -0600
> @@ -43,7 +43,7 @@
> # Properties
> # Allow overriding any request property by the value defined in
> # this dict e.g properties = {'script_name': '/mywiki'}.
> - ## properties = {}
> + properties = {'script_name': '/'}
>
> # Hotshot profile (default commented)
> ## hotshotProfile = name + '.prof'
> ========
>
> - Bradey
>
Thanks, that did the trick! I hade previously tried 'script_alias' on a
hunch, but it didn't work.
Does anyone know where the properties options for the CgiConfig class are
documented? I cannot find that for the life of me.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user