On Mon, Jan 5, 2009 at 5:34 AM, Graham Dumpleton
<[email protected]> wrote:
>
> You could have just used:
> <Location /wikis>
>        WSGIProcessGroup wikis
>        WSGIApplicationGroup %{GLOBAL}
> </Location>
>
Actually, I tried this and Moin got confused and thought that the wiki
name, (the 'abc' etc. in my example) was the name of a page. Thus when
I went to /wikis/abc it tried to load the 'abc' page in the 'abc'
wiki. Links also didn't work because it tried to link to
'/wikis/LinkText' instead of '/wikis/abc/LinkText'.

There was a way to solve it, but it involved setting a RequestHeader
variable separately for each wiki in the farm.

> If you don't have such a Directory container, it potentially shows you
> have put an 'Allow from all' in an in appropriate context, ie., for
> all of file system from '/' or from URL location of '/', both of which
> are bad from a security standpoint.

This scares me. I'll check it out, thanks.

> I actually also question your use of WSGIScriptAliasMatch. One could
> also have said:
>
> WSGIScriptAlias /wikis /path/to/moin.wsgi
>
As I said, I had to include the wiki name in the match so that it got
ignored as part of the URL that Moin tries to deal with.

>
> Finally, the argument to WSGIProcessGroup doesn't match
> WSGIDaemonProcess you created.
>
Whoops, that's a typo. I'll fix it when I get home.


> BTW, did you really mean '/moin_staticXXX'?
>
The Moin people suggest using that where XXX is the version number. I
should have been more clear about that.

Todd

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to