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
--
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.