apache mod_wsgi/nginx config: different behaviors if www pre-pended

2008-11-12 Thread Serdar T.
Can someone offer advice on server deployment headaches involving apache/mod_wsgi/nginx? I seem to be having two problems: 1) Apache/mod_wsgi correctly serves dynamic content from a test app (located in a ~/public_html directory) when the url starts with "www". But apache reverts to serving the

Re: apache mod_wsgi/nginx config: different behaviors if www pre-pended

2008-11-12 Thread Graham Dumpleton
On Nov 13, 6:48 am, "Serdar T." <[EMAIL PROTECTED]> wrote: > Can someone offer advice on server deployment headaches involving > apache/mod_wsgi/nginx? I seem to be having two problems: > > 1) Apache/mod_wsgi correctly serves dynamic content from a test app > (located in a ~/public_html director

Re: apache mod_wsgi/nginx config: different behaviors if www pre-pended

2008-11-13 Thread Serdar T.
Thanks for the reply Graham. Since the time I wrote the initial message, I figured out the problem: I was using nginx as the frontend, as you point out, and sending requests to apache at 127.0.0.1:8080. But I hadn't updated my virtualhost file to process requests to that address. I made the follo