I'm guessing you're running this on Windows? Apache's behavior is dependent on 
platform, on a unix platform even straight apache is case-sensitive because the 
underlying filesystem it is serving from is case-sensitive.

Likewise, Webware's behavior is Python-dependent. And python is case-sensitive 
on all platforms. So while the behavior might not be expected from a windows 
perspective, any general case-insensitive solution is going to be very 
difficult.

It has been mentioned once or twice that if you were to keep all of your actual 
files in (say) lowercase, then a simple modification to Application.py before 
it calls for the Servlet, to force all requests to lowercase would work *in 
that case*. The obvious limitation here is that all your source files *must* be 
lowercase.

Enjoy,

Luke

Quoting Michael Engelhart <[EMAIL PROTECTED]>:

> I'm running Webware 0.7 (apache + mod_webkit)  and the latest version 
> of Cheetah and noticed something strange happen.
> 
> If i have a document called Home.tmpl and it's resultant compiled 
> servlet Home.py, if go to a URL that ends with "home.py"
> I get an error saying:
> ImportError: No module named home
> 
> I'm not sure that this is the expected behavior or not.  Anyone know?
> 
> I know with Apache alone that if I go to http://localhost/index.html or 
> http://localhost/Index.html, that the file is served.
> 
> I'm just trying to figure this out so I know what to expect.
> 
> Thanks
> Mike
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
> Time is running out!  Thinkgeek.com has the coolest gifts for
> your favorite geek.   Let your fingers do the typing.   Visit Now.
> T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
> 
> 






-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to