[mod_python] Modules with identical name in different directories

David Yeung dyeung at ust.hk
Sat May 19 19:45:43 EST 2001


If I have two different python modules with identical name (index.py), e.g.:

   http://host/pytest1/index.py/mainpage

and

   http://host/pytest2/index.py/mainpage

When I access the first index.py module, the mod_python import the first index.py.
Then I switch to access the second index.py. Will the mod_python know it is a
different module with the first one, and then import the second 'index.py' 
automatically? Or it will use the already imported 'index.py' module?

Thanks

david



More information about the Mod_python mailing list