[mod_python] Simple Issue, Baffling

Eric Strand estrand at isomedia.com
Thu Jan 26 16:41:34 EST 2006


Might it have to do with browser caching?  In the past I've encounter 
similar frustration, and realized the browser was being too helpful.



David Worley wrote:
> Yeah, typo. Thanks for pointing that out.
> 
> The preprocessor is going to get a request for a .css file, find a .sss
> file, process it, and return it as CSS.
> 
> It's correct in the actual program.
> 
> Believe me, I've combed over everything small like that. I wouldn't have
> written without doing so. It seems like I've missed something in my
> understanding of the req object, or the content_type property, or in the
> way that AddHandler works.
> 
> Any ideas?
> 
> ===============================
> David Worley
> Senior Front End Developer
> dworley at communityconnect.com
> =============================== 
> 
> -----Original Message-----
> From: Waitman Gobble [mailto:waitman at waitman.net] 
> Sent: Thursday, January 26, 2006 4:23 PM
> To: Jim Gallacher
> Cc: David Worley; mod_python at modpython.org
> Subject: Re: [mod_python] Simple Issue, Baffling
> 
> Sorry to jump in the middle of the conversation, but is
> 
> AddHandler python-program .sss
> 
> supposed to be
> 
> AddHandler python-program .css
> 
> ???
> 
> Take care,
> 
> Waitman
> 
> 
> 
> 
> 
> Jim Gallacher wrote:
> 
>>David Worley wrote:
>>
>>>I'm writing a CSS preprocessor. It's meant to grab a request for a
> 
> .css
> 
>>>So with the following httpd.conf entry:
>>>
>>><Directory /some/file/system/directory>
>>>    AddHandler python-program .sss
>>>    PythonHandler switch
>>>    PythonDebug On
>>></Directory>
> 
> 
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 


More information about the Mod_python mailing list