Patches item #891917, was opened at 2004-02-06 17:37
Message generated for change (Comment added) made by cito
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=891917&group_id=4866

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: WebKit
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: No cascading extensions for directory files

Initial Comment:
Here is a suggestion for improvement of the function 
findDirectoryIndex in the Application.py module.

The problem is that this function ignores cascading 
extensions.

For instance, if you have a configuration like this one:
'DirectoryFile': ['index','main'],
'UseCascadingExtensions': 1,
'ExtensionCascadeOrder':['.py','.html'],

Webware 0.8.1 will output an error if you have an 
index.html and an index.py file.

I assume this has simply been forgotten when 
cascading extensions were introduced and I have added 
the functionality in the findDirectoryIndex function (see 
attachment).

Of course, DirectoryFile has precedence over 
ExtensionCascadeOrder. So in the above 
case, 'index.html' would be prefered over 'main.py'.

----------------------------------------------------------------------

>Comment By: Christoph Zwerschke (cito)
Date: 2006-07-08 20:35

Message:
Logged In: YES 
user_id=193957

This is now in the SVN trunk and will go into Webware 0.9.2
(in the current version, URLParser.py had to be patched
instead of Application.py).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=891917&group_id=4866

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to