hi there,

i've just checked out the latest webware version from the
CVS to test ian's latest additions and i'm experiencing
a strange problem while trying to load  some pages.

my current app has a single context naned "www" , marked
as default context, and a number of subfolders, one of those is
called "admin":

www/
  admin/
  dealerarea/
  products/
  ...
  admin.js
  admin.css

incidentaly i've some files named like the "admin" folder,
in particular admin.js and admin.css lies on the same admin
folder level.

in my httpd.conf i've mapped .py file extension with webkit so
no weird  URL rewriting interfere while resolving requests,
python files will be served from webkit, everything else will
be handled by apache.

the problem arise when i'm trying to access the /admin/ default
(index.py) file, e.g. i just type in the browser:

<http://localhost:8082/admin/>

and i would expect that apache requests the index.py (the default
index file) for the admin folder and *then* webware just exec it.
this was working fine until yesterday, but this morning after
installing the new wware CVS version this causes a 404 on the browser
and this warning on the console:

C:/Python/Lib/site-packages/Webware\WebKit\URLParser.py:306: UserWarning: More than one file matches /admin/index.py in www: ['www\\admin', 'www\\admin.js']
warnings.warn("More than one file matches %s in %s: %s"
ERROR: Not Found


i think this is confusing, i'm just requesting something
one level below (note the trailing slash on http://localhost:8082/admin/, and BTW this should be handled by
apache.


the obvios workaround is to  name  differently the admin.js
file, but the 404 error on the browser is pretty strange anyway.

am i missing something?


cheers, deelan.










------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to