willuff
03-18-2003, 10:34 PM
can anyone help me? extensive searches have not shown any solutions to my problems :(
i'm running 2 apache servers on distinct machines: a proxy server and an internal webserver (running php, etc).
The proxy server proxies for the internal network and also acts a proxy for various externally advertised https sites (which it then proxy mirrors using http to various virtual hosts on the internal server).
I have a very specific problem relating to multipart/form-data file uploads where files are being uploaded using browsers which results in "Cannot find server" errors in I.E. (v5.5, 6.0), "connection reset by peer" in Netscape (v4.8) and "Connection closed by remote server" in Opera.
The error only occurs when an internal browser is set up using the proxy - which then proxies the request to the virtual server listening on port 443 (still on the proxy machine), which then proxy mirrors to an virtual host on port 80 to the internal machine. Note the only time a problem occurs is for file uploads (i.e. when enctype="multipart/form-data").
Browser -> proxy -> https virtual server on proxy -> http internal server
If we change the firewall and allow one machine to directly access the site (browser configured without the proxy) on port 443 then no problem. But this is not possible for every browser on the internal network (due to company policy).
Anyone outside the company on the WWW can access and use the page without a problem (although we havent tested yet when an external person is also using a proxy).
Also, from the internal network, it is possible to go straight to the internal server over port 80 and upload files without an issue. Then why dont I just do that? Simply because people that use this site are too dumb to remember/store 2 urls. :mad:
Oh, and also, it works through the proxy when the file upload size is less than 20Kb!!!! :confused:
Confused? Me? You'd better believe it! :D
Wilf
i'm running 2 apache servers on distinct machines: a proxy server and an internal webserver (running php, etc).
The proxy server proxies for the internal network and also acts a proxy for various externally advertised https sites (which it then proxy mirrors using http to various virtual hosts on the internal server).
I have a very specific problem relating to multipart/form-data file uploads where files are being uploaded using browsers which results in "Cannot find server" errors in I.E. (v5.5, 6.0), "connection reset by peer" in Netscape (v4.8) and "Connection closed by remote server" in Opera.
The error only occurs when an internal browser is set up using the proxy - which then proxies the request to the virtual server listening on port 443 (still on the proxy machine), which then proxy mirrors to an virtual host on port 80 to the internal machine. Note the only time a problem occurs is for file uploads (i.e. when enctype="multipart/form-data").
Browser -> proxy -> https virtual server on proxy -> http internal server
If we change the firewall and allow one machine to directly access the site (browser configured without the proxy) on port 443 then no problem. But this is not possible for every browser on the internal network (due to company policy).
Anyone outside the company on the WWW can access and use the page without a problem (although we havent tested yet when an external person is also using a proxy).
Also, from the internal network, it is possible to go straight to the internal server over port 80 and upload files without an issue. Then why dont I just do that? Simply because people that use this site are too dumb to remember/store 2 urls. :mad:
Oh, and also, it works through the proxy when the file upload size is less than 20Kb!!!! :confused:
Confused? Me? You'd better believe it! :D
Wilf