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  [EMAIL PROTECTED]  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


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to