On 1/20/06, Mike Sarahan <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Here's the latest hitch I've run into with dreamhost: > The tg_fcgi.fcgi script uses the following to load config files: > > if exists(join(code_dir, "setup.py")): > turbogears.update_config(configfile=join(code_dir, > "devcfg.py"),modulename="PROJECTNAME.config") > else: > turbogears.update_config(configfile=join(code_dir, > "prodcfg.py"),modulename="PROJECTNAME.config") > > Using that, it gets the configfile just fine, but the modulename gives > it trouble, because the tg_fcgi.fcgi script and project folder are in > different locations, i.e.: > > /home/mikez0r/webpath/tg_fcgi.fcgi > /home/mikez0r/TGapps/photogal > > How can I reconcile this difference in the modulename part of the code?
You've got code_dir (from the User Edit Section at the top of the .fcgi script) set to "/home/mikez0r/TGapps/photogal", right? In that case, it should be able to find the PROJNAME/config.py file just fine. What exactly is the error message or exception that you're seeing? -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

