Attached is a patch which "fixes" Quixote and mod_python when used from a VirtualHost or Directory directive. I've tested it using both typical and bizarrely 'Alias'ed setups inside and outside of virtual hosts and everything I found works correctly. I'm not making any promises though ;-P Essentially, it tries to figure out what parts of 'SCRIPT_NAME' really belong in PATH_INFO and moves them accordingly. After that it checks to see if the current script is being served from 'DOCUMENT_ROOT' and, if so, assumes it's handling the entire site and sets up SCRIPT_NAME and PATH_INFO accordingly. I'd appreciate some testing. The second "hunk" of the patch fixes the config file reading, and I've heard that's already been changed in CVS. -- Shahms King