[Moin-user] Configure so as to hide index.cgi
Bradey Honsinger
bradeyh at gmail.com
Tue Feb 10 02:05:48 EST 2009
On Mon, Feb 9, 2009 at 5:43 PM, Joe Legner <joelegner at 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
More information about the Moin-user
mailing list