[Moin-user] Re: URL-prefix/path-info with twisted?
Alexander Schremmer
2004b at usenet.alexanderweb.de
Wed Feb 9 13:03:51 EST 2005
On Wed, 9 Feb 2005 21:41:07 +0100 (MET), Thomas Werschlein wrote:
> I've to run a twisted based MoinMoin behind an Apache server using
> mod_proxy. Unfortunately I can't use a special DNS-Name for the wiki,
> but have to use a subdirectory to pass requests over to Moin. E.g.:
>
> Now, the problem is, that all subsequent links within Moin don't work,
> since they don't include the "mywiki" prefix in the URL but look like
> www.example.com/RecentChanges instead of
> www.example.com/mywiki/RecentChanges, so mod_proxy can't pass the
> request on to Moin.
>
> Does anyone know where to include this twisted-"prefix"? The
> url_prefix configuration option only affects static content like CSS
> and images (which I can handle with another ProxyPass directive in
> Apache).
I am sure that you can get this setup working by digging into mod_rewrite.
Otherwise you might want to mess with request.prepath in
MoinMoin.server.twistedmoin.WikiRoot().getChild
Kind regards,
Alexander
More information about the Moin-user
mailing list