[mod_python] [NOT][SOLVED] psp_site

Reed L. O'Brien reed at intersiege.com
Mon Mar 29 07:57:58 EST 2004


I am going to give up for a while.  But here is where I now stand

AddHandler mod_python .py
       Gives a full rendering of the home page if not specified in the 
domain (domain.dom/)
        If you click a link or fill in anything after the slash 
(domain.dom/home) it returns 404

The same apparently goes for :
AddHandler python-program .py

With:
SetHandler mod_python

will render all the text and links but no images or menu colors

As will:
SetHandler python-program

Although if I an add handler and load the default page (nothing after 
trailing slash) then change to SetHandler it will render and work fine.  
But it is pulling images and such from the cache.  This is what tricked 
me into thinking it was solved earlier.  As soon as I clear the cache or 
it expires it falls back to no images and noo menu highlighting.  SO I 
need to take a break til this eve, and stop

Ideas?

Once again the set up:
Apache2.0.49
mod_python3.1.3
Python2.3.3 patchlevel 4
on freebsd 4.9



Reed L. O'Brien wrote:

> I repeated this error with Apache 2.0.48 and 3.1.3 and figured out I 
> had to change my SetHandler to make it work.  It now appears to be 
> working OK.
>
> <Directory /usr/local/www/data>
> SetHandler mod_python  to  ------>>>> SetHandler python-program   
> <<<<-----------
> PythonHandler mod_python.publisher
> PythonDebug On
> </Directory>
>
>
> Reed L. O'Brien wrote:
>
>> Right so I went to dl the psp_site example and it was pretty.  And 
>> then I decided to update some apps on my machine.  I upgraded  on 
>> FreeBSD 4.9
>>
>> Apache2.0.48 --> 2.0.49
>> mod_python3.0.3 --> 3.1.3
>> Python 2.3.3 --> 2.3.3 patchlevel 4
>>
>> and now the hover over menu is broken (is just plain  links) and it 
>> doesn't get the logo (broken image symbol) ....
>> I think it happened after I upgraded apache.  Anyone else seen this 
>> behavior? or have an idea what caused it?
>> I have tried dienstalling and reinstalling the above.  No luck.  
>> mod_php still works.
>>
>>
>> TIA
>> reed
>
>
>
> _______________________________________________
> 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