From: Ian B. <ia...@co...> - 2003-02-10 18:04:19
|
On Sat, 2003-02-08 at 06:29, Achim Domma wrote: > Hi, > > I use mod_webkit with the following entry in httpd.conf. I have multiple > entries of this for different virtual hosts, but they point all to the same > Webware intance. > > <Location /WK> > WKServer localhost 8086 > SetHandler webkit-handler > </Location> > > Is there some way to pass information from httpd.conf to webware? I want to > pass a folder with templates which are differnet for the differnt virtuall > hosts. You could use the SetEnv stuff -- I've never tried it, but it should set an environmental variable that's then accessible through self.request().environ(). It should definitely work with the CGI-based adapter, but I'm not as sure about mod_webkit. You could also add something to the URL with mod_rewrite. -- Ian Bicking ia...@co... http://colorstudy.com 4869 N. Talman Ave., Chicago, IL 60625 / 773-275-7241 "There is no flag large enough to cover the shame of killing innocent people" -- Howard Zinn |