Message from discussion
Problem with Wiki site under Apache using mod_WSGI
Date: Mon, 15 Oct 2012 06:53:55 -0700 (PDT)
From: cht8 <uminokaze...@gmail.com>
To: turbogears@googlegroups.com
Message-Id: <d736e83e-bee9-48f3-92fa-3f8961756d73@googlegroups.com>
In-Reply-To: <507BC01E.6020302@online.de>
References: <b9e6a2c9-821b-42da-8002-162b597cb843@googlegroups.com> <a23b3bc8-9c87-4ebe-bd77-f679877a7570@googlegroups.com> <507BB34C.5080101@online.de> <dfc11358-d160-4453-b988-290f28d45f15@googlegroups.com>
<507BC01E.6020302@online.de>
Subject: Re: [TurboGears] Re: Problem with Wiki site under Apache using
mod_WSGI
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1547_19785517.1350309235511"
------=_Part_1547_19785517.1350309235511
Content-Type: multipart/alternative;
boundary="----=_Part_1548_10763516.1350309235511"
------=_Part_1548_10763516.1350309235511
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I changed the host to the IP of the virtual machine and it worked! without
mod_wsgi.
Thank you so much :D
On Monday, October 15, 2012 12:49:55 AM UTC-7, Christoph Zwerschke wrote:
>
> Am 15.10.2012 09:27, schrieb cht8:
> > I am using 2.2 actually.
> > The reason I'm using mod_wsgi and Apache is because the development
> > method with paster server doesn't work. I have it deployed and it says
> > "serving on http://127.0.0.1:8080".
> > When I open another terminal and telnet to 127.0.0.1 8080 I can get a
> > proper main page response.
> >
> > However my school's got it set up so that we have to go through a
> > gateway machine and it will forward the request to our virtual machine.
>
> Maybe the problem is that your browser runs on a terminal server and not
> on the machine where your are developing? Or it is using a proxy even
> for the lookback address? Something like that?
>
> If you can only have a browser on a different machine, you can still use
> the paster server and the development mode. Just open your
> development.ini and where it says 127.0.0.1 enter nothing or the IP
> address of the machine. Then the development server can be contacted
> from other machines.
>
> > When I access the 127.0.0.1:8080 on our virtual machine through the
> > gateway, it doesn't work.
> > Weird thing is, 1.0 and 1.5 works fine with cheerypy, the page displays.
>
> Yes, that's strange.
>
> > The save method is correct because I have exactly the same site set up
> > on my personal ubuntu 12.04 and I have no trouble accessing it. But if I
> > try to access it through the browser with http://my_ip:8080 it doesn't
> > work too.
>
> That's because development.ini by default does not serve on my_ip:8080,
> but only on localhost:8080, for security reasons.
>
> -- Christoph
>
>
------=_Part_1548_10763516.1350309235511
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I changed the host to the IP of the virtual machine and it worked! without mod_wsgi.<div>Thank you so much :D</div><div><br>On Monday, October 15, 2012 12:49:55 AM UTC-7, Christoph Zwerschke wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Am 15.10.2012 09:27, schrieb cht8:
<br>> I am using 2.2 actually.
<br>> The reason I'm using mod_wsgi and Apache is because the development
<br>> method with paster server doesn't work. I have it deployed and it says
<br>> "serving on <a href="http://127.0.0.1:8080" target="_blank">http://127.0.0.1:8080</a>".
<br>> When I open another terminal and telnet to 127.0.0.1 8080 I can get a
<br>> proper main page response.
<br>>
<br>> However my school's got it set up so that we have to go through a
<br>> gateway machine and it will forward the request to our virtual machine.
<br>
<br>Maybe the problem is that your browser runs on a terminal server and not
<br>on the machine where your are developing? Or it is using a proxy even
<br>for the lookback address? Something like that?
<br>
<br>If you can only have a browser on a different machine, you can still use
<br>the paster server and the development mode. Just open your
<br>development.ini and where it says 127.0.0.1 enter nothing or the IP
<br>address of the machine. Then the development server can be contacted
<br>from other machines.
<br>
<br>> When I access the <a href="http://127.0.0.1:8080" target="_blank">127.0.0.1:8080</a> on our virtual machine through the
<br>> gateway, it doesn't work.
<br>> Weird thing is, 1.0 and 1.5 works fine with cheerypy, the page displays.
<br>
<br>Yes, that's strange.
<br>
<br>> The save method is correct because I have exactly the same site set up
<br>> on my personal ubuntu 12.04 and I have no trouble accessing it. But if I
<br>> try to access it through the browser with <a href="http://my_ip:8080" target="_blank">http://my_ip:8080</a> it doesn't
<br>> work too.
<br>
<br>That's because development.ini by default does not serve on my_ip:8080,
<br>but only on localhost:8080, for security reasons.
<br>
<br>-- Christoph
<br>
<br></blockquote></div>
------=_Part_1548_10763516.1350309235511--
------=_Part_1547_19785517.1350309235511--