From: jose <jo...@cy...> - 2003-07-18 15:55:34
|
The documentation is pretty good on this and yes having done both it is much easier then tomcat. In a nut shell: add these lines to your apache conf LoadModule webkit_module modules/mod_webkit.dll (or .so if you are on *nix) # associate .psp with webkit AddType text/psp .psp AddHandler psp-handler .psp # create the webkit "location" <Location /WK> WKServer localhost 8086 SetHandler webkit-handler </Location> # this part is optional and removes the necessity of adding /WK/ to you webware servlet paths # you could also use mod rewrite to do this (look at the wiki) but I find this simpler Action application/py-serverpages /WK/ AddType application/py-serverpages .py Lastly make sure that your webkit context's are correct. Look in the context section of your webkit application.conf file. I usually set the default context to be the same as my apache root, in this way I can mix servlets, psp and static files, but I know many people don't like to do this. Also if you use Apache's virtual hosting you need to add the location of the virtual host as a webkit context and within the virtual host section make some mods like: <VirtualHost *> DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/VirtualLocation" ServerAdmin yo...@is... ServerName virtualhost.isp.com ErrorLog logs/your logfile <Location /WK/VirtualLocation> WKServer localhost 8086 SetHandler webkit-handler </Location> Action application/py-serverpages /WK/VirtualLocation/ AddType application/py-serverpages .py </VirtualHost> Hope this helps, Happy coding Jose -----Original Message----- From: web...@li... [mailto:web...@li...] On Behalf Of Mark Mueller Sent: Wednesday, July 16, 2003 9:14 AM To: web...@li... Subject: [Webware-discuss] Apache / Webware Virtual Hosting Hi -- I am using Apache and want to integrate it with Webware's WebKit. Can someone give me an example of how this would be done. Hopefully, it is easier that Apach-tomcat integration. Thanks so much!! Mark C. Mueller |