|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2004
/
2004-03
/
Problem in getting images through pound
[
Release candidate / Robert Segall ... ]
[
timing transactions / Dennis Allison ... ]
Problem in getting images through pound
Trung Tran <Trung.Tran(at)hwe.com.au> |
2004-03-18 07:49:01 |
[ FULL ]
|
I'm trying to use pound as a as load-balancing server for my ZEO clients. I
also got Plone on top of Zope. Everything is fine except one thing that the
browser (IE) could not get any images from the Plone site. Does anybody know
why?
Trung Tran<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />
Analyst Programmer
Henry Walker Eltin
Phone: 02 9887 7834
Mobile: 0414 629970
Email: trung.tran(at)hwe.com.au <mailto:trung.tran(at)hwe.com.au>
|
|
|
Re: Problem in getting images through pound
"Steven Smith" <stsmith(at)spsmw.org> |
2004-03-19 08:31:22 |
[ FULL ]
|
Don't know if this will help, but I had two big troubles when setting up
Pound for HTTPS.
1. All the tags (links and/or image tags) on page came back wrong. They
were HTTP://my.web.site:443/ when should have been
HTTPS://my.web.site:443/ Therefore, in IE all the images on page looked
broken.
2. After this I didn't seem to get page to finish loading (or something
like that).
Answer 1
I tried to do HTTPS proxy. I run my Zope on Windows server, and used the
Z2.py script provided with Pound to startup Zope. Everything I was
trying didn't seem to get HTTPS correct. I then went and built entire
linux box and ran pound there (thinking my problem was running Pound on
Windows). I still got same troubles.
During my setup I figured that if I going to proxy HTTPS, I might as
well do HTTP proxy also. This proved to be my problem. I finally found
that if I ONLY configured Pound for HTTP or HTTPS (listening to one
address) that everything worked. So I now run two pounds servers on my
windows box. 1. for HTTP and 2. for HTTPS. (FYI I had to do same thing
on Linux to make Pound work there, when testing.)
I never took more time to find out if the problem was with the Zope
getting confused and returning the wrong address back to pound of HTTP
when it should have been HTTPS OR maybe the Pound was not correctly
converting the HTTP to HTTPS. Someone who knows how Pound/Zope
interaction needs to answer this.
Answer 2
After the first this was simple. Someone made note (I think in this
mailing list archives) to turn OFF HTTP 1.1 setting for the IE browser.
In Pound I added line "NoHTTPS11 1" and everything was fixed.
Here is config I use for HTTPS. (Have similar for HTTP.)
# Pound on Windows (required CygWin libraries included)
ListenHTTPS 10.10.0.3,443 D:\pound\pound.pem
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
LogLevel 3
NoHTTPS11 1
Alive 5
Server 10
Client 10
UrlGroup ".*"
Backend 127.0.0.1,8443,1
EndGroup
Thanks,
Steven Smith
>>> Trung Tran <Trung.Tran(at)hwe.com.au> 03/18/04 1:49 AM
>>>
I'm trying to use pound as a as load-balancing server for my ZEO
clients. I
also got Plone on top of Zope. Everything is fine except one thing that
the
browser (IE) could not get any images from the Plone site. Does anybody
know
why?
Trung Tran<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />
Analyst Programmer
Henry Walker Eltin
Phone: 02 9887 7834
Mobile: 0414 629970
Email: trung.tran(at)hwe.com.au <mailto:trung.tran(at)hwe.com.au>
|
|
|
RE: Problem in getting images through pound
Trung Tran <Trung.Tran(at)hwe.com.au> |
2004-03-21 23:35:57 |
[ FULL ]
|
My problem is different. For example I have Zope running at
http://my.zope.server:8080 then I
created an Image object called myImage
under root. Next I configured pound to run at http://my.pound.proxy which
acts as proxy of my Zope server.
Now if I try this url http://my.zope.server:8080/myImage
everything is OK
but with the url http://my.pound.proxy/myImage the
browser can't load the
image.
Does anyone know why?
Thanks,
-----Original Message-----
From: Steven Smith [mailto:stsmith(at)spsmw.org]
Sent: Friday, 19 March 2004 6:31 PM
To: pound(at)apsis.ch; Trung.Tran(at)hwe.com.au
Subject: Re: Problem in getting images through pound
Don't know if this will help, but I had two big troubles when setting up
Pound for HTTPS.
1. All the tags (links and/or image tags) on page came back wrong. They
were HTTP://my.web.site:443/ when should have been
HTTPS://my.web.site:443/ Therefore, in IE all the images on page looked
broken.
2. After this I didn't seem to get page to finish loading (or something
like that).
Answer 1
I tried to do HTTPS proxy. I run my Zope on Windows server, and used the
Z2.py script provided with Pound to startup Zope. Everything I was
trying didn't seem to get HTTPS correct. I then went and built entire
linux box and ran pound there (thinking my problem was running Pound on
Windows). I still got same troubles.
During my setup I figured that if I going to proxy HTTPS, I might as
well do HTTP proxy also. This proved to be my problem. I finally found
that if I ONLY configured Pound for HTTP or HTTPS (listening to one
address) that everything worked. So I now run two pounds servers on my
windows box. 1. for HTTP and 2. for HTTPS. (FYI I had to do same thing
on Linux to make Pound work there, when testing.)
I never took more time to find out if the problem was with the Zope
getting confused and returning the wrong address back to pound of HTTP
when it should have been HTTPS OR maybe the Pound was not correctly
converting the HTTP to HTTPS. Someone who knows how Pound/Zope
interaction needs to answer this.
Answer 2
After the first this was simple. Someone made note (I think in this
mailing list archives) to turn OFF HTTP 1.1 setting for the IE browser.
In Pound I added line "NoHTTPS11 1" and everything was fixed.
Here is config I use for HTTPS. (Have similar for HTTP.)
# Pound on Windows (required CygWin libraries included)
ListenHTTPS 10.10.0.3,443 D:\pound\pound.pem
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
LogLevel 3
NoHTTPS11 1
Alive 5
Server 10
Client 10
UrlGroup ".*"
Backend 127.0.0.1,8443,1
EndGroup
Thanks,
Steven Smith
>>> Trung Tran <Trung.Tran(at)hwe.com.au> 03/18/04 1:49 AM
>>>
I'm trying to use pound as a as load-balancing server for my ZEO
clients. I
also got Plone on top of Zope. Everything is fine except one thing that
the
browser (IE) could not get any images from the Plone site. Does anybody
know
why?
Trung Tran<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />
Analyst Programmer
Henry Walker Eltin
Phone: 02 9887 7834
Mobile: 0414 629970
Email: trung.tran(at)hwe.com.au <mailto:trung.tran(at)hwe.com.au>
|
|
|
RE: Problem in getting images through pound
Dennis Allison <allison(at)sumeru.stanford.EDU> |
2004-03-21 23:49:58 |
[ FULL ]
|
It seems unlikely that the problem lies with Pound. Pound is pretty much
oblivious to content. It would be helpful to know a bit more about your
setup. Which Zope are you running? What operating system and Python?
What does your pound.cfg file look like. And what version of Pound?
On Mon, 22 Mar 2004, Trung Tran wrote:
[...]
|
|
|
RE: Problem in getting images through pound
Trung Tran <Trung.Tran(at)hwe.com.au> |
2004-03-22 00:01:50 |
[ FULL ]
|
I'm using pound-1.6 . The pound.cfg is very simple like this:
------------
ListenHTTP 10.27.92.182,80
User zope
UrlGroup ".*"
BackEnd 127.0.0.1,8080,1
EndGroup
-----------
10.27.92.182 is the ip of the server where both pound and zope are running.
The OS is Redhat8.0, Zope-2.6.4, python-2.1.
Trung Tran
-----Original Message-----
From: Dennis Allison [mailto:allison(at)sumeru.stanford.EDU]
Sent: Monday, 22 March 2004 9:50 AM
To: Trung Tran
Cc: pound(at)apsis.ch
Subject: RE: Problem in getting images through pound
It seems unlikely that the problem lies with Pound. Pound is pretty much
oblivious to content. It would be helpful to know a bit more about your
setup. Which Zope are you running? What operating system and Python?
What does your pound.cfg file look like. And what version of Pound?
On Mon, 22 Mar 2004, Trung Tran wrote:
[...]
|
|
|
RE: Problem in getting images through pound
Dennis Allison <allison(at)sumeru.stanford.EDU> |
2004-03-22 00:18:57 |
[ FULL ]
|
I assume you mean python-2.1.3.
I have had problems with RH9 and pound (they don't play well together).
Some versions of RH8 may have the same problems. I've never been able to
trace it down, but it appears there are kernel and glibc problems and that
there are problems with the Native Posix Threading Library (NPTL). This
was a primary reason for our choice to move back to RH7.3 for production.
While your message implies it, I am assuming that you can navigate around
the site and render pages without a problem. Is there anything in the
error logs?
And, one more thing, why are you not using python 2.3.3 which is the gold
standard for python 2.4?
On Mon, 22 Mar 2004, Trung Tran wrote:
[...]
|
|
|
RE: Problem in getting images through pound
Trung Tran <Trung.Tran(at)hwe.com.au> |
2004-03-22 00:38:57 |
[ FULL ]
|
Yes I use python-2.1.3 because it was just included the Zope binary release.
Thing is very strange. When I access the ZMI through pound browser can load
Zope images which located in the /misc_ folder (eg.
/misc_/Sessions/datamgr.gif) but fails to load any images in other places.
I reckon the problem lies between pound and Zope but is it pound was
designed for Zope at the beginning?
By the way the error log showed nothing.
-----Original Message-----
From: Dennis Allison [mailto:allison(at)sumeru.stanford.EDU]
Sent: Monday, 22 March 2004 10:19 AM
To: Trung Tran
Cc: pound(at)apsis.ch
Subject: RE: Problem in getting images through pound
I assume you mean python-2.1.3.
I have had problems with RH9 and pound (they don't play well together).
Some versions of RH8 may have the same problems. I've never been able to
trace it down, but it appears there are kernel and glibc problems and that
there are problems with the Native Posix Threading Library (NPTL). This
was a primary reason for our choice to move back to RH7.3 for production.
While your message implies it, I am assuming that you can navigate around
the site and render pages without a problem. Is there anything in the
error logs?
And, one more thing, why are you not using python 2.3.3 which is the gold
standard for python 2.4?
On Mon, 22 Mar 2004, Trung Tran wrote:
[...]
running.[...]
which[...]
OK[...]
the[...]
|
|
|
|