We would need to see the output of the web server to try to help with this. It's likely a misconfig somewhere in Apache.
If you use "wget --save-headers --max-redirect 3 http://www.example.com/" the first several lines of the output file will be the output headers from the server, and will help us diagnose what's going on and how to fix it. On Thu, Sep 15, 2011 at 9:07 AM, rajcze <[email protected]> wrote: > Hello, > > I'm trying to run my TG2.1 application using apache & mod_wsgi on Fedora > 14. > > I followed the steps described in > <http://turbogears.org/2.1/docs/main/Deployment/ModWSGI.html>, used > the modwsgi_deploy helper script to create apache config files. When I > try to access the respective URL, apache gets stuck in some endless > redirect loop: > > [/var/log/httpd/access_log] > 10.34.29.248 - - [15/Sep/2011:13:54:53 +0200] "GET /Helloworld/ > HTTP/1.1" 301 514 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; > rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17" > 10.34.29.248 - - [15/Sep/2011:13:54:53 +0200] "GET /Helloworld// > HTTP/1.1" 301 514 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; > rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17" > 10.34.29.248 - - [15/Sep/2011:13:54:53 +0200] "GET /Helloworld// > HTTP/1.1" 301 514 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; > rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17" > 10.34.29.248 - - [15/Sep/2011:13:54:53 +0200] "GET /Helloworld// > HTTP/1.1" 301 514 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; > rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17" > ... > > This happens with both my project and plain quickstarted project. > httpd/error_log does not contain any errors. Everything works OK while > served via `paster serve deployment.ini`. > What can I do to fix/debug this problem? > > Regards > > Josef > -- > Rules of Optimization: > Rule 1: Don't do it. > Rule 2 (for experts only): Don't do it yet. > > -- > 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?hl=en. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] My Online Resume: http://www.icelus.org/ Twitter: pedersentg -- 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?hl=en.

