deelan wrote:
''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>

You are using /your-servlet-goes-here.py for the URL, right?

i would love to avoid URL-rewriting caused by /wk/your-servlet-goes-here while my servlet really is /your-servlet-goes-here.

If that's all you want to do, you can do:

DocumentRoot /i/must/be/an/invalid/path
<Location />
  ...
</Location>

--
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org


------------------------------------------------------- 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

Reply via email to