If I read it correctly, in #2 you stated that tg_fastcgi.fcgi & fcgi.py are located in /home/<user>/public_html. These files must be put in your site's root directory in order for things to work correctly ( e.g. /home/<user>/<mysite.com>)
Try moving those two files and let me know what happens.
Sean
On 2/24/06,
WhyWorkPlayHalo <[EMAIL PROTECTED]> wrote:
Let me post some info which will hopefully help in solving my problem
(note: <user> is really my username):
1. My application is located in /home/<user>/pythonapps/Wiki-20
2. My tg_fastcgi.fcgi and fcgi.py are located in
/home/<user>/public_html
3. I've chmod on both .htaccess and tg_fastcgi.fcgi to 755.
4. My .htaccess looks like the following:
AddDefaultCharset utf-8
RewriteEngine On
RewriteBase /
RewriteRule ^(tg_fastcgi\.fcgi/.*)$ - [L]
RewriteRule !^stat - [C]
RewriteRule ^(.*)$ tg_fastcgi.fcgi/$1 [L]
5. My tg_fastcgi.fcgi looks like:
code_dir = '/home/<user>/pythonapps/Wiki-20'
root_class_name = 'wiki20.controllers.Root'
project_module_name = 'wiki20.config'
One thing to note is that only the old .Root seems to work, not the
RootController like I thought it should from the new readme. I get an
error if I use that (ImportError: cannot import name RootController in
stderr.log).
6. My prodcfg.py file has one change like you recommended:
server.webpath="/tg_fastcgi.fcgi"
That's about it. Again, if I simply ./tg_fastcgi.fcgi, the stdout.log
outputs the standard turbogears welcome screen. The stderr.log does
have a couple lines in it which I have read is normal:
WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!
Any suggestions are greatly appreciated. I'd like to be using the
latest version if possible.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] Re: Turbogears 0.9a1 using fastcgi Sean De La Torre
- [TurboGears] Re: Turbogears 0.9a1 using fastcgi WhyWorkPlayHalo
- [TurboGears] Re: Turbogears 0.9a1 using fastcgi Sean De La Torre
- [TurboGears] Re: Turbogears 0.9a1 using fast... WhyWorkPlayHalo
- [TurboGears] Re: Turbogears 0.9a1 using ... Sean De La Torre

