Cannot upload files from Firefox 2.0 to Apache HTTP proxy server
--00163600d09715a8ac0480f8a8d6
Content-Type: text/plain; charset=ISO-8859-1
Hi
I have tried to upload a Microsoft Excel file to my application server from
Firefox 2.0. The HTTP request goes over SSL to Oracle Apache 2 HTTP server
which is configured to act as a proxy server before passing the request to
my application server.
Packet sniffing indicates that the file contents are being sent from the
browser, but mysteriously getting 'lost' by the time they reach the
application server. i.e. the form fields relating to the file upload are no
longer present.
Are there any diagnostics I can perform or configuration I can check for the
proxy server as to why this is happening?
File uploads work fine with Internet Explorer 6. There are some minor
differences in the way HTTP requests get encoded for the two browsers, such
as the filename or content-type.
thanks, Baljeet.
--00163600d09715a8ac0480f8a8d6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hi</div>
<div>I have tried to upload a Microsoft Excel file to my application server=
from Firefox 2.0. The HTTP request goes over SSL to Oracle Apache 2 HTTP s=
erver which is configured to act as a proxy server before passing the reque=
st to my application server. </div>
<div>Packet sniffing indicates that the file contents are being sent from t=
he browser, but mysteriously getting 'lost' by the time they reach =
the application server. i.e. the form fields relating to the file upload ar=
e no longer present.</div>
<div>Are there any diagnostics I can perform or configuration I can check f=
or the proxy server as to why this is happening?</div>
<div>File uploads work fine with Internet Explorer 6. There are some minor =
differences in the way HTTP requests get encoded for the two browsers, such=
as the filename or content-type. </div>
<div>thanks, Baljeet.</div>
--00163600d09715a8ac0480f8a8d6--
password protecting a file that has parameters
--=__Part446E8D5A.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
We are running apache 2.2.6 on a Linux maxchine.
We have the following code in our httpd.conf file
<Directory /usr/local/indico/MaKaC>
<FilesMatch "confRegistrationFormDisplay.py">
AuthUserFile /WWW/httpd/conf/.htpasswd
AuthName "HP2010 Web Site"
AuthType Basic
<Limit GET>
require user organizer
</Limit>
</FilesMatch>
</Directory >
Every time someone goes to http://www1.weizmann.ac.il/MaKaC/confRegistratio=
nFormDisplay.py the person is indeed asked for a user name and password. =
However, http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py =
really takes parameters e.g.
http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py?confid=3D2
and what I really want to do is require a password only for certain =
parameter values. So
http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py?confid=3D2 =
would require a user and password but
http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py?confid=3D3w=
ould not require a user and password.
When I tried adding ?confid=3D3 to the <FilesMatch> directive, it did not =
work.
Is there any way to do this?
thanks for any information.
Malka Cymbalista
Webmaster, Weizmann Institute of Science
malki.cymbalista [at] weizmann.ac.il
08-934-3036
--=__Part446E8D5A.0__=
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.2900.5512" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><FONT size=3D3>We =
are running apache 2.2.6 on a Linux maxchine. </FONT></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><FONT size=3D3></FON=
T></SPAN> </DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><FONT size=3D3>We =
have the following code in our httpd.conf file</FONT></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><FONT size=3D3><D=
irectory /usr/local/indico/MaKaC></FONT></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"> <FONT =
size=3D3> <FilesMatch "confRegistrationFormDisplay.py"><BR>&nbs=
p; AuthUserFile /WWW/httpd/conf/.htpasswd<BR> =
AuthName "HP2010 Web Site"<BR> AuthType Basic<BR> &=
nbsp; <Limit GET><BR> require user organizer<=
BR> </Limit><BR> </FilesMatch><BR><SPAN=
style=3D"FONT: 10pt Tahoma; COLOR: #000000"></Directory ></SPAN></FO=
NT></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><FONT size=3D3></FONT></SPAN></SPAN> </D=
IV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><FONT size=3D3>Every time someone goes to =
</FONT><A href=3D"http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisp=
lay.py"><FONT size=3D3>http://www1.weizmann.ac.il/MaKaC/confRegistrationFor=
mDisplay.py</FONT></A><FONT size=3D3> the person is indeed asked for =
a user name and password. However, </FONT><A href=3D"http://www1.weiz=
mann.ac.il/MaKaC/confRegistrationFormDisplay.py"><FONT size=3D3>http://www1=
..weizmann.ac.il/MaKaC/confRegistrationFormDisplay.py</FONT></A><FONT =
size=3D3> really takes parameters e.g.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><A href=3D"http:=
//www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay.py?c onfid=3D2"><FON=
T size=3D3>http://www1.weizmann.ac.il/MaKaC/confRegistrationFo rmDisplay.py?=
confid=3D2</FONT></A></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><FONT size=3D3>and what I really want to do =
is require a password only for certain parameter values. So</FONT></SPAN></=
SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><A href=3D"http:=
//www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay.py?c onfid=3D2"><FON=
T size=3D3>http://www1.weizmann.ac.il/MaKaC/confRegistrationFo rmDisplay.py?=
confid=3D2</FONT></A><FONT size=3D3> would require a user and =
password but</FONT></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"F=
ONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><A href=3D"http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDi=
splay.py?confid=3D3"><FONT size=3D3>http://www1.weizmann.ac.il/MaKaC/confRe=
gistrationFormDisplay.py?confid=3D3</FONT></A><FONT size=3D3> would not =
require a user and password.</FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPA=
N></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"F=
ONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><FONT size=3D3>When I tried adding ?confid=3D3 to the <FilesMat=
ch> directive, it did not work. </FONT></SPAN></SPAN></SPAN></SPAN=
></SPAN></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"F=
ONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><FONT size=3D3>Is there any way to do this?</FONT></SPAN></SPAN></=
SPAN></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"F=
ONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><FONT size=3D3></FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN>&n=
bsp;</DIV>
<DIV><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT:=
10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"F=
ONT: 10pt Tahoma; COLOR: #000000"><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"><FONT size=3D3>thanks for any information.</FONT></SPAN></SPAN></S=
PAN></SPAN></SPAN></SPAN></DIV>
<DIV><FONT size=3D3></FONT><SPAN style=3D"FONT: 10pt Tahoma; COLOR: =
#000000"> </DIV><FONT size=3D3>
<DIV><BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV>Malka Cymbalista<BR>Webmaster, Weizmann Institute of Science<BR>malki.=
cymbalista [at] weizmann.ac.il<BR>08-934-3036</DIV></FONT></SPAN></DIV></BODY></=
HTML>
--=__Part446E8D5A.0__=--
Re: password protecting a file that has parameters
--0015175774124f23ce0480f99938
Content-Type: text/plain; charset=ISO-8859-1
On Thu, Mar 4, 2010 at 6:44 PM, Malka Cymbalista <
Malki.Cymbalista [at] weizmann.ac.il> wrote:
> We are running apache 2.2.6 on a Linux maxchine.
>
> We have the following code in our httpd.conf file
> <Directory /usr/local/indico/MaKaC>
> <FilesMatch "confRegistrationFormDisplay.py">
> AuthUserFile /WWW/httpd/conf/.htpasswd
> AuthName "HP2010 Web Site"
> AuthType Basic
> <Limit GET>
> require user organizer
> </Limit>
> </FilesMatch>
> </Directory >
>
> Every time someone goes to
> http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py the person
> is indeed asked for a user name and password. However,
> http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py really
> takes parameters e.g.
> http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py?confid=2
> and what I really want to do is require a password only for certain
> parameter values. So
> http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py?confid=2 would
> require a user and password but
> http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay .py?confid=3would not require a user and password.
> When I tried adding ?confid=3 to the <FilesMatch> directive, it did not
> work.
> Is there any way to do this?
>
> thanks for any information.
>
>
>
>
> Malka Cymbalista
> Webmaster, Weizmann Institute of Science
> malki.cymbalista [at] weizmann.ac.il
> 08-934-3036
>
There's no solution with FilesMatch or LocationMatch. But a possible
solution would be using mod_setenvif. I doubt if query string checking is
there with mod_setenvif. If its there, you could set an env variable and
depending on that configure auth.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
--0015175774124f23ce0480f99938
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div class=3D"gmail_quote">On Thu, Mar 4, 2010 at 6:44 PM, Malka Cymbalista=
<span dir=3D"ltr"><<a href=3D"mailto:Malki.Cymbalista [at] weizmann.ac.il">M=
alki.Cymbalista [at] weizmann.ac.il</a>></span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid=
rgb(204, 204, 204); padding-left: 1ex;">
<div style=3D"margin: 4px 4px 1px; font: 10pt Tahoma;">
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"=
3">We are running apache 2.2.6 on=A0 a Linux maxchine. </font></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"=
3"></font></span>=A0</div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"=
3">We have the following code in our httpd.conf file</font></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"=
3"><Directory /usr/local/indico/MaKaC></font></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);">=A0<font size=
=3D"3"> <FilesMatch=A0 "confRegistrationFormDisplay.py"><br=
>=A0=A0=A0 AuthUserFile /WWW/httpd/conf/.htpasswd<br>=A0=A0=A0 AuthName &qu=
ot;HP2010 Web Site"<br>
=A0=A0=A0 AuthType Basic<br>=A0=A0=A0 <Limit GET><br>=A0=A0=A0 requir=
e user organizer<br>=A0=A0=A0 </Limit><br>=A0 </FilesMatch><br>=
<span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"></Directory >=
</span></font></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3"></font></span></=
span>=A0</div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3">Every time someo=
ne goes to </font><a href=3D"http://www1.weizmann.ac.il/MaKaC/confRegistrat=
ionFormDisplay.py" target=3D"_blank"><font size=3D"3">http://www1.weizmann.=
ac.il/MaKaC/confRegistrationFormDisplay.py</font></a><font size=3D"3">=A0th=
e person is indeed asked for a user name and password.=A0 However, </font><=
a href=3D"http://www1.weizmann.ac.il/MaKaC/confRegistrationFor mDisplay.py" =
target=3D"_blank"><font size=3D"3">http://www1.weizmann.ac.il/MaKaC/confReg=
istrationFormDisplay.py</font></a><font size=3D"3">=A0really takes paramete=
rs e.g.</font></span></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><a href=3D"http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay=
..py?confid=3D2" target=3D"_blank"><font size=3D"3">http://www1.weizmann.ac.=
il/MaKaC/confRegistrationFormDisplay.py?confid=3D2</font></a></span></span>=
</span></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3">and what I reall=
y want to do is require a password only for certain parameter values. So</f=
ont></span></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><a href=3D"http://www1.weizmann.ac.il/MaKaC/confRegistrationFormDisplay=
..py?confid=3D2" target=3D"_blank"><font size=3D"3">http://www1.weizmann.ac.=
il/MaKaC/confRegistrationFormDisplay.py?confid=3D2</font></a><font size=3D"=
3">=A0would require a user and password but</font></span></span></span></sp=
an></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"=
font: 10pt Tahoma; color: rgb(0, 0, 0);"><a href=3D"http://www1.weizmann.ac=
..il/MaKaC/confRegistrationFormDisplay.py?confid=3D3" target=3D"_blank"><fon=
t size=3D"3">http://www1.weizmann.ac.il/MaKaC/confRegistration FormDisplay.p=
y?confid=3D3</font></a><font size=3D"3"> would not require a user and passw=
ord.</font></span></span></span></span></span></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"=
font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3">When I tried addi=
ng ?confid=3D3 to the <FilesMatch> directive, it did not work.=A0 </f=
ont></span></span></span></span></span></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"=
font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3">Is there any way =
to do this?</font></span></span></span></span></span></span></div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"=
font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3"></font></span></s=
pan></span></span></span></span>=A0</div>
<div><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D=
"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma;=
color: rgb(0, 0, 0);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0=
);"><span style=3D"font: 10pt Tahoma; color: rgb(0, 0, 0);"><span style=3D"=
font: 10pt Tahoma; color: rgb(0, 0, 0);"><font size=3D"3">thanks for any in=
formation.</font></span></span></span></span></span></span></div>
<div><font size=3D"3"></font><span style=3D"font: 10pt Tahoma; color: rgb(0=
, 0, 0);">=A0</span></div><font color=3D"#888888"><font size=3D"3">
<div><br></div>
<div>=A0</div>
<div>=A0</div>
<div>
<div>Malka Cymbalista<br>Webmaster, Weizmann Institute of Science<br><a hre=
f=3D"mailto:malki.cymbalista [at] weizmann.ac.il" target=3D"_blank">malki.cymbal=
ista [at] weizmann.ac.il</a><br>08-934-3036</div></div></font></font></div>
</blockquote></div><br>There's no solution with FilesMatch or LocationM=
atch. But a possible solution would be using mod_setenvif. I doubt if query=
string checking is there with mod_setenvif. If its there, you could set an=
env variable and depending on that configure auth.<br>
<br>-- <br>Nilesh Govindarajan<br>Site & Server Administrator<br><a hre=
f=3D"http://www.itech7.com">www.itech7.com</a><br><br>
--0015175774124f23ce0480f99938--
Re: Cannot upload files from Firefox 2.0 to Apache HTTP
On Thu, Mar 4, 2010 at 1:22 PM, Baljeet Nijjhar
<baljeet.nijjhar [at] googlemail.com> wrote:
> Hi
> I have tried to upload a Microsoft Excel file to my application server from
> Firefox 2.0. The HTTP request goes over SSL to Oracle Apache 2 HTTP server
> which is configured to act as a proxy server before passing the request to
> my application server.
> Packet sniffing indicates that the file contents are being sent from the
> browser, but mysteriously getting 'lost' by the time they reach the
> application server. i.e. the form fields relating to the file upload are no
> longer present.
You have sniffed the network both before and after the proxy right?
Have you looked for anything in your error files?
> Are there any diagnostics I can perform or configuration I can check for the
> proxy server as to why this is happening?
This should not be happening however...
> File uploads work fine with Internet Explorer 6. There are some minor
> differences in the way HTTP requests get encoded for the two browsers, such
> as the filename or content-type.
This could ofcourse be a case of your application server not being
http/html complient. As Internet Explorer is less picky that could
explain things.
What happens if you do the test directly to the application server,
bypassing the proxy?
Krist
--
krist.vanbesien [at] gmail.com
krist [at] vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Cannot upload files from Firefox 2.0 to Apache HTTP
--00504502d3ce39c7a804810af0d6
Content-Type: text/plain; charset=ISO-8859-1
Hi, thanks, I'll try to answer the questions.
Yes we have sniffed before and after the proxy. We can't exactly determine
if it reaches the proxy as it is over SSL and thus encrypted but using e.g.
HTTP Debugger shows me it is leaving the browser.
We can upload the file directly to the application server (not over SSL).
I haven't seen anything in the error logs. One thing I need to check is
whether it is a particular file type (e.g. Excel) or whether all files get
dumped if sent from Firefox.
thanks, Baljeet.
On Fri, Mar 5, 2010 at 5:34 AM, Krist van Besien
<krist.vanbesien [at] gmail.com>wrote:
> On Thu, Mar 4, 2010 at 1:22 PM, Baljeet Nijjhar
> <baljeet.nijjhar [at] googlemail.com> wrote:
> > Hi
> > I have tried to upload a Microsoft Excel file to my application server
> from
> > Firefox 2.0. The HTTP request goes over SSL to Oracle Apache 2 HTTP
> server
> > which is configured to act as a proxy server before passing the request
> to
> > my application server.
> > Packet sniffing indicates that the file contents are being sent from the
> > browser, but mysteriously getting 'lost' by the time they reach the
> > application server. i.e. the form fields relating to the file upload are
> no
> > longer present.
>
> You have sniffed the network both before and after the proxy right?
> Have you looked for anything in your error files?
>
> > Are there any diagnostics I can perform or configuration I can check for
> the
> > proxy server as to why this is happening?
>
> This should not be happening however...
>
> > File uploads work fine with Internet Explorer 6. There are some minor
> > differences in the way HTTP requests get encoded for the two browsers,
> such
> > as the filename or content-type.
>
> This could ofcourse be a case of your application server not being
> http/html complient. As Internet Explorer is less picky that could
> explain things.
>
> What happens if you do the test directly to the application server,
> bypassing the proxy?
>
> Krist
>
>
> --
> krist.vanbesien [at] gmail.com
> krist [at] vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
>
> ------------------------------------------------------------ ---------
> 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 [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
--00504502d3ce39c7a804810af0d6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hi, thanks, I'll try to answer the questions. </div>
<div>Yes we have sniffed before and after the proxy. We can't exactly d=
etermine if it reaches the proxy as it is over SSL and thus encrypted but u=
sing e.g. HTTP Debugger shows me it is leaving the browser.</div>
<div>We can upload the file directly to the application server (not over SS=
L). </div>
<div>I haven't seen anything in the error logs. One thing I need to che=
ck is whether it is a particular file type (e.g. Excel) or whether all file=
s get dumped if sent from Firefox.</div>
<div>thanks, Baljeet.<br><br></div>
<div class=3D"gmail_quote">On Fri, Mar 5, 2010 at 5:34 AM, Krist van Besien=
<span dir=3D"ltr"><<a href=3D"mailto:krist.vanbesien [at] gmail.com">krist.v=
anbesien [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class=3D"im">On Thu, Mar 4, 2010 at 1:22 PM, Baljeet Nijjhar<br><<a=
href=3D"mailto:baljeet.nijjhar [at] googlemail.com">baljeet.nijjh ar [at] googlemail.=
com</a>> wrote:<br>> Hi<br>> I have tried to upload a Microsoft Ex=
cel file to my application server from<br>
> Firefox 2.0. The HTTP request goes over SSL to Oracle Apache 2 HTTP se=
rver<br>> which is configured to act as a proxy server before passing th=
e request to<br>> my application server.<br>> Packet sniffing indicat=
es that the file contents are being sent from the<br>
> browser, but mysteriously getting 'lost' by the time they reac=
h the<br>> application server. i.e. the form fields relating to the file=
upload are no<br>> longer present.<br><br></div>You have sniffed the ne=
twork both before and after the proxy right?<br>
Have you looked for anything in your error files?<br>
<div class=3D"im"><br>> Are there any diagnostics I can perform or confi=
guration I can check for the<br>> proxy server as to why this is happeni=
ng?<br><br></div>This should not be happening however...<br>
<div class=3D"im"><br>> File uploads work fine with Internet Explorer 6.=
There are some minor<br>> differences in the way HTTP requests get enco=
ded for the two browsers, such<br>> as the filename or content-type.<br>
<br></div>This could ofcourse be a case of your application server not bein=
g<br>http/html complient. As Internet Explorer is less picky that could<br>=
explain things.<br><br>What happens if you do the test directly to the appl=
ication server,<br>
bypassing the proxy?<br><br>Krist<br><br><br>--<br><a href=3D"mailto:krist.=
vanbesien [at] gmail.com">krist.vanbesien [at] gmail.com</a><br><a href=3D"mailto:kri=
st [at] vanbesien.org">krist [at] vanbesien.org</a><br>Bremgarten b. Bern, Switzerlan=
d<br>
--<br>A: It reverses the normal flow of conversation.<br>Q: What's wron=
g with top-posting?<br>A: Top-posting.<br>Q: What's the biggest scourge=
on plain text email discussions?<br><br>----------------------------------=
-----------------------------------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D=
"_blank">http://httpd.apache.org/userslist.html</a>> for more info.<br>T=
o unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.org=
">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe [at] =
httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>For addi=
tional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.org">use=
rs-help [at] httpd.apache.org</a><br>
<br></blockquote></div><br>
--00504502d3ce39c7a804810af0d6--