From: Titus B. <ti...@ca...> - 2003-01-10 18:54:39
|
Hi all, thanks to Matt and Ian's prodding, I whipped up a functioning Webware adapter for PyWX. It's available under the pywx-lib/ directory as 'handleWebware.py', and to use it you need to do the following four things: * change WebKit_dir and WebKit_base_url in handleWebware.py to match your system; * in a threaded pool config area, include the Webware directory in PythonPath: ns_param PythonPath "/u/t/software/Webware-0.7" * also add an import statement to the Setup string: ns_param Setup "import handleWebware" * add a map statement that matches the base_url you edited: ns_param Map "* /WebKit.cgi/* handleWebware.handle" That should be all that's necessary. I haven't done exhaustive testing, obviously, but it's a pretty simple script and it seems to work everywhere I've tested it. I'll write up example config scripts for both Webware and Quixote in a bit, if I have time. (Certainly before the next release...) cheers, --titus |