Angus Lee <[EMAIL PROTECTED]> writes: > You're right, Anders. But another problem just occured after modification. > The name of my project is devildictionary, and i've put the main directory > in directory htdocs. The url "http://localhost/devildictionary" yields the > following error message:
on the plus side, it looks like the mod_python part of the setup is basically working right now. the issue you're having now is that turbogears usually expects to be at the root. ie, a request for '/' maps to controllers.Root. you have it in the '/devildictionary' subdirectory. so it gets a request for '/devildictionary/' from the browser and starts looking for that under your application's root and doesn't find it. i usually give turbogears/cherrypy apps their own virtual host when i run them through mod_python so it hasn't been an issue for me. i think the 'server.webpath' setting has something to do with getting it working under a directory. i haven't set that up before, myself though so hopefully someone else will post some more detailed instructions on how to get that working. -- anders pearson : http://www.columbia.edu/~anders/ C C N M T L : http://www.ccnmtl.columbia.edu/ weblog : http://thraxil.org/
pgpbRz7FIiBvY.pgp
Description: PGP signature

