Phillip Pace schrieb:
> Hey people,
> 
> I'm farming out a path based wiki which works however when I click on
> the links on a wiki instance wiki they read:
> 
> www.website.com/cgi-bin/moin.cgi/page/path/
> 
> I need it to be configured some how for each wiki instance config so it says:
> 
> www.website.com/wiki/client1/page/path/
> 
> And for another wiki instance:
> 
> www.website.com/wiki/client2/page/path
> 
> The only way I've managed to get it working is by changing it manually
> for each farmed wiki instance that I'm using  by editing the in the
> following in the moin.cgi:
> 
> import os
> os.environ['SCRIPT_NAME'] = '/wiki/client1'
> 
> But then I can edit the second wiki without manually changing the moin.cgi  
> to:
> 
> import os
> os.environ['SCRIPT_NAME'] = '/wiki/client2'
> 
> Hope this makes some sense :)... any ideas?

Is using wsgi an option?


WSGIScriptAlias /wiki/client1 /var/www/moin//wiki/client1/moin.wsgi


WSGIScriptAlias /wiki/client2 /var/www/moin//wiki/client2/moin.wsgi

a detailed description:
http://moinmo.in/HowTo/ApacheWithModWSGI


cheers
Reimar

> 
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
> looking to deploy the next generation of Solaris that includes the latest 
> innovations from Sun and the OpenSource community. Download a copy and 
> enjoy capabilities such as Networking, Storage and Virtualization. 
> Go to: http://p.sf.net/sfu/opensolaris-get


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to