[mod_python] strange path when loading module

Graham Dumpleton grahamd at dscpl.com.au
Sun Feb 20 15:34:07 EST 2005


Read:

   http://issues.apache.org/jira/browse/MODPYTHON-9

You should read through some of the other bug reports there as well 
which
describe other problems with mod_python module loading system.

In summary, you are going to have to use unique names for code files 
across
multiple directories.

Graham

On 21/02/2005, at 6:52 AM, Nuno Salgado wrote:

> Hi,
>  
> I have Apache/2.0.52 (FreeBSD) mod_python/3.1.3 Python/2.3.3 PHP/4.3.9 
> configured and:
>  
> document_root = .../www/data
> (1) .../www/data/nuno/index.py
> (2) .../www/data/nuno/cpost/index.py
>  
> the page generated with (2) has a link to (1) -> 
> http://server/nuno/inde.py/.
>  
> when I click in the link I see in my browser address bar the right URL 
> but the page that is loaded is (2) with req.filename = (1).
>  
> Only when I do Reload in my browser I get page (1).
>  
> What I'm doing wrong ?
>  
> Regards,
> Nuno
> PS: If (2) is .../www/data/nuno/cpost/index2.py, everything works fine.
> _______________________________________________
> 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