I've made this work with 0.8.1 but its not nice.

First you have to set UseCascadingExtensions to 1
Then set ExtensionCascadeOrder to include .pyc files like this: [ '.py',
'.pyc', '.psp', '.html', '.htm' ]

However, this doesn't work properly and I had to modify the extensions()
method in WebKit/ServletFactory.py to return [ '.py', '.pyc' ]

This works reliably but still doesn't handle the "index" case where the user
enters a URL like http://host/some/servlet/path/ - in this case Webware
looks for index or home pages but fails to find it if only the .pyc is
present - I couldn't be bothered to fix this as its not an issue for me.

I have no idea how this works with 0.9

Adam K




On 6/1/06 22:47, "Gary Perez" <[EMAIL PROTECTED]> wrote:

> In your Configs/Application.config
> 
> Check the lines:
> 
>          'ExtensionsToIgnore':
>          'ExtensionsToServe':
>          'UseCascadingExtensions':
>          'ExtensionCascadeOrder':
> 
> Not tested by me, but that might fix it?
> 
> HTH,
> -Gary
> 
> On Jan 6, 2006, at 5:21 PM, Jeremy Kaplan wrote:
> 
>> So pardon me if this seems like a silly question.  We're attempting to
>> cease shipping our .py files with our application, but we've
>> encountered
>> some friction when we pull out the .py files that webkit loads as
>> servlets.  Is there some setting in the webkit that we can enable so
>> that it will use the .pyc files that are present rather than
>> looking for
>> .py files?  We don't ever drop in new .py files without dropping new
>> .pyc files anyways so the dynamic reloading stuff doesn't seem so
>> important for our use.
>> 
>> Thanks in advance,
>> jd
>> 
>> 
>> 
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems?  Stop!  Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the  web.  DOWNLOAD
>> SPLUNK!
>> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
>> _______________________________________________
>> Webware-discuss mailing list
>> Webware-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>> 
> 
> 
> --
> Gary Perez
> Advanced Simulation Technology inc.
> [EMAIL PROTECTED]
> http://www.asti-usa.com/
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> _______________________________________________
> Webware-discuss mailing list
> Webware-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/webware-discuss



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to