On Sunday, August 10, 2003, at 06:40 AM, deelan wrote:

the problem is that webware searches for such CSS files under the /param1/param2/ folders (of course both are fictional):

/WK/weblog/index/param1/param2/styles/print.css

obviously the CSS are not imported and then the page
looks unstyled.

for various reasons i cannot use absolute paths
for resources. is this the intentended behavior?
instead should webware strip extrapathinfo from request
URL prior to start serving resources to the client?

How would it know where to find it, then? If it found index, it would have to use index.py and pass the print.css to it in the pathinfo, no?

One solution might be to have your SitePage look
for ".css" in the pathinfo, and if it's there,
do something other than the normal writeHTML stuff
to send back a stylesheet instead.  This seems
like it would do what you want.

--
Randall Randall <[EMAIL PROTECTED]>
"Not only can money buy happiness,
 it isn't even particularly expensive any more."  -- Spike Jones



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to