You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Scaglione Ermanno <sc...@starnetone.de> on 2002/03/01 02:41:07 UTC

apache 1.3.23 mod_proxy proxy pass problem with swf files on Solaris 2.7


-------- Original Message --------
Subject: apache 1.3.23 mod_proxy proxy pass problem with swf files on 
Solaris 2.7
Date: Fri, 01 Mar 2002 01:29:25 +0100
From: Scaglione Ermanno <er...@tin.it>
Organization: Colt Telecom GmbH
Newsgroups: comp.infosystems.www.servers.unix

Hi to everybody,
I have a problem serving swf files through a reverse proxy that uses
apache 1.3.23. I updated the server to the latest release yesterday and
double checked everithing but the problem remains.
My configuration is the following: 2 netras with Solaris 2.7 apache
1.3.23 (lets call them www1 and www2) behind a load balancer serves
pages from a fat linux server RedHat 7.2 apache 1.3.22 (I will call it
www3). Everything works and mod_proxy does really a good job caching
static content and reducing the number of active on the linux side.
Recently we are building a new web site that uses flash, the swf file is
on www3 and index.html loads it passing a parameter. And here is the
problem: when I try http://www1/flash.swf?id=dfghdfhdfh I get a 404
error, http://www1/flash.swf works and I get the right file
http://www3/flash.swf?id=dfghdfhfd works also correctly (that is the
parameter is also correcly passed to flash). In error_log I find the
following error message:

[Fri Mar  1 00:31:56 2002] [error] [client xxx.xxx.xxx.xxx] File does
not exist: proxy:http://www3/flash.swf?id=dfjhfgjhfgjhfgjhfghjgfgjfjfghjfghj

on www3 no entries neither in access_log or error_log that is it looks
like www1 doesn't even try to get the URL from the backend....

And that is not all, I installed apache 1.3.23 from the rawhide
distribution on a linux server and configured a reverse proxy pointing
to www3 and voila' the same URL works:

xxx.xxx.xxx.xxx xxx.xxx.xx - [28/Feb/2002:18:14:12 +0100] "GET
/flash.swf?id=bdd884f0d7e21589489cb242109ba42d HTTP/1.1" 200 20405 "-"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; Q312461)"

The problem seems to be related to Solaris 2.7 or maybe one of the
patches that comes with the redhat srpm fixes it .....

Anyway to be sure that apache really gives a 404 code I started muffin, 
a program that act as a proxy and has a nice the snoop filter to see all 
request generated from the browser, and thing started to get weird: now 
everything works fine, the URL work and the parameter are correctly 
passed. From the muffin log:

GET http://www1/flash.swf?id=dfjhfgjhfgjhfgjhfghjgfgjfjfghjfghj HTTP/1.1
Accept-Language: en-us
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-powerpoint, application/vnd.ms-excel, 
application/msword, */*
Host: xxx.xxx.xx
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
Cookie: whow-user=xxx.xxx.xxx.xxx.xxxxxxxxxxxxxxx
Proxy-Connection: Keep-Alive


HTTP/1.1 200 OK
Via: 1.1 www1 (Apache/1.3.23)
ETag: "1801b-15e78-3c7ec048"
Accept-Ranges: bytes
Content-Type: application/x-shockwave-flash
Connection: close
Date: Fri, 01 Mar 2002 01:27:03 GMT
Server: Apache/1.3.23 (Unix) mod_gzip/1.3.19.1a mod_jk
X-Cache: HIT from www1 (with revalidation)
Last-Modified: Thu, 28 Feb 2002 23:42:00 GMT
Content-Length: 89720


I tested it with Netscape 6.2 and it works the problem appear only to 
occurr with Internet Explorer without a proxy!!!!!




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: apache 1.3.23 mod_proxy proxy pass problem with swf files on Solaris 2.7

Posted by Scaglione Ermanno <sc...@starnetone.de>.
I answer myself ?cause anybody aswered :-)

Anyway it turned out that on the solaris machine was loaded mod-gzip 
1.3.19.1a and on the linux machine wasn?t, turned mod_gzip off on www1 
and www2 (solaris) and everything is normal again. Didn?t investigated 
the reason, didn?t mailed mod_gzip mantainer .............. ABSOLUT NO 
TIME!!!!

Scaglione Ermanno wrote:

>
>
> -------- Original Message --------
> Subject: apache 1.3.23 mod_proxy proxy pass problem with swf files on 
> Solaris 2.7
> Date: Fri, 01 Mar 2002 01:29:25 +0100
> From: Scaglione Ermanno <er...@tin.it>
> Organization: Colt Telecom GmbH
> Newsgroups: comp.infosystems.www.servers.unix
>
> Hi to everybody,
> I have a problem serving swf files through a reverse proxy that uses
> apache 1.3.23. I updated the server to the latest release yesterday and
> double checked everithing but the problem remains.
> My configuration is the following: 2 netras with Solaris 2.7 apache
> 1.3.23 (lets call them www1 and www2) behind a load balancer serves
> pages from a fat linux server RedHat 7.2 apache 1.3.22 (I will call it
> www3). Everything works and mod_proxy does really a good job caching
> static content and reducing the number of active on the linux side.
> Recently we are building a new web site that uses flash, the swf file is
> on www3 and index.html loads it passing a parameter. And here is the
> problem: when I try http://www1/flash.swf?id=dfghdfhdfh I get a 404
> error, http://www1/flash.swf works and I get the right file
> http://www3/flash.swf?id=dfghdfhfd works also correctly (that is the
> parameter is also correcly passed to flash). In error_log I find the
> following error message:
>
> [Fri Mar 1 00:31:56 2002] [error] [client xxx.xxx.xxx.xxx] File does
> not exist: 
> proxy:http://www3/flash.swf?id=dfjhfgjhfgjhfgjhfghjgfgjfjfghjfghj
>
> on www3 no entries neither in access_log or error_log that is it looks
> like www1 doesn't even try to get the URL from the backend....
>
> And that is not all, I installed apache 1.3.23 from the rawhide
> distribution on a linux server and configured a reverse proxy pointing
> to www3 and voila' the same URL works:
>
> xxx.xxx.xxx.xxx xxx.xxx.xx - [28/Feb/2002:18:14:12 +0100] "GET
> /flash.swf?id=bdd884f0d7e21589489cb242109ba42d HTTP/1.1" 200 20405 "-"
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; Q312461)"
>
> The problem seems to be related to Solaris 2.7 or maybe one of the
> patches that comes with the redhat srpm fixes it .....
>
> Anyway to be sure that apache really gives a 404 code I started 
> muffin, a program that act as a proxy and has a nice the snoop filter 
> to see all request generated from the browser, and thing started to 
> get weird: now everything works fine, the URL work and the parameter 
> are correctly passed. From the muffin log:
>
> GET http://www1/flash.swf?id=dfjhfgjhfgjhfgjhfghjgfgjfjfghjfghj HTTP/1.1
> Accept-Language: en-us
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
> application/vnd.ms-powerpoint, application/vnd.ms-excel, 
> application/msword, */*
> Host: xxx.xxx.xx
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
> Cookie: whow-user=xxx.xxx.xxx.xxx.xxxxxxxxxxxxxxx
> Proxy-Connection: Keep-Alive
>
>
> HTTP/1.1 200 OK
> Via: 1.1 www1 (Apache/1.3.23)
> ETag: "1801b-15e78-3c7ec048"
> Accept-Ranges: bytes
> Content-Type: application/x-shockwave-flash
> Connection: close
> Date: Fri, 01 Mar 2002 01:27:03 GMT
> Server: Apache/1.3.23 (Unix) mod_gzip/1.3.19.1a mod_jk
> X-Cache: HIT from www1 (with revalidation)
> Last-Modified: Thu, 28 Feb 2002 23:42:00 GMT
> Content-Length: 89720
>
>
> I tested it with Netscape 6.2 and it works the problem appear only to 
> occurr with Internet Explorer without a proxy!!!!!
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org