hi there,
from the docs: <http://www.w4py.org/Webware-0.8.1/WebKit/Docs/InstallGuide.html#apache-configuration>
''Apache Configuration''
''You must also add a line like this to your httpd.conf:''
<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>''Then any URL that starts with /WK/ will be directed to the AppServer on 8086. ''
and that's fine, this works as expected, but let's continue:
(...PSP stuff removed...)
''This also works:''
Action py-serverpages /WK/ AddType py-serverpages .py
''Which will run Python servlets from any location.''
could be someone shed some light on that Action/AddType combo? from the webware docs it seems possible to map a .py file extension to the mod_webkit handler?
i tried with this vhost conf but probably i missed something, since it stille requires the http://host/wk/ prefix:
<VirtualHost 127.0.01:8081> DocumentRoot D:/vhosts/zyz ServerName xyz Action py-serverpages /wk/ AddType py-serverpages .py
<Location /wk>
WKServer localhost 8086
SetHandler webkit-handler
</Location></VirtualHost>
i would love to avoid URL-rewriting caused by /wk/your-servlet-goes-here while my servlet really is /your-servlet-goes-here.
cheers, deelan.
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
