[mod_python] CSS sheets and XML formatting - Maybe apache config?

Sean Davis sdavis2 at mail.nih.gov
Fri Oct 20 19:37:16 EDT 2006


Graham Dumpleton wrote:
>
> On 21/10/2006, at 9:21 AM, Sean Davis wrote:
>
>>>
>>> I was hoping a call to test4 or test5 would pickup the css file but 
>>> nothing happened. Does my apache conf file need something else. I 
>>> strongly suspect I need to declare some directory in my apache conf 
>>> file, but I am stuck.
>>>
>> Did you install mod_python?  Did you configure it in apache?  Did you 
>> add a directive to direct mod_python to handle the directory?  Does a 
>> test from the mod_python manual work? 
>>
>> What do you have in yor apache configuration for this file?  What do 
>> you type into the address bar of the browser?  What are the results?  
>> If they are not what you expect, what does you error log show?  Also, 
>> content handlers need to return apache.OK (or at least some apache 
>> constant). 
>>
>> In short, some more specifics might be needed here.
>>
>
> The handler prototypes, arguments and return values are indicative that
> he was probably trying to use mod_python.publisher, in which case the
> result is the actual content of the page to be send back and not a result
> code. Ie., for publisher handlers, do not need to be returning apache.OK.
Good point.  Sorry for the misinformation. 

Sean


More information about the Mod_python mailing list