[Moin-user] links in macros and email notifications?

Reid Priedhorsky reid at umn.edu
Mon May 8 08:43:02 EDT 2006


Robert Schumann wrote:
> 
> This is likely due to the fact that MoinMoin is told by Apache (via
> environment variables) what the server name is.  You could either play
> with Apache or (I haven't tested this) change the environment variable
> in moin.cgi (or whatever script runs your MoinMoin).  If you edit
> moin.cgi and insert the lines
>    import os
>    os.environ['SERVER_NAME'] = 'www.foo.bar/mywiki'
> that may fix it.
> 
> This is just a guess.  You could also grep the MoinMoin code to find out  > how it determines the server name (does it determine the server name?).

Seems like MoinMoin shouldn't need to know the server name to construct 
links. If it does, I'd consider that a bug.

Reid





More information about the Moin-user mailing list