On 11-nov-08, at 22:45, chumpalump wrote: > Hello, All. I'm trying to setup cherokee 0.11 as a proxy for a > moinmoin wiki farm. In apache I've used: > > Alias /moin_static171/ "/usr/share/moin/htdocs/ > <Location /chumpalump/> > ProxyPass http://localhost:8000/ > ProxyPassReverse http://localhost:8000/ > RequestHeader set X-Moin-Location /chumpalump/ > Order deny,allow > Allow from all > </Location> > > In cherokee, I'm using the generic balancer in a /chumpalump > directory, and static content for the /moin_static171 directory. > But I can't > find a way to attach a header to be passed to the moin server. Any > ideas?
You should use the new 'HTTP reverse proxy'. That will do the job at the right layer. There is a problem converting the configuration you pasted, though. The reverse proxy is currently missing the ability for adding arbitrary headers to the relayed requests. I have just logged a new bug about it: http://code.google.com/p/cherokee/issues/detail?id=216 We'll address the issue ASAP. The patch will be most probably be committed within today. Cheers! -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
