Using Apache as a proxy with chunked encoding and digest authentication Announcing the arrival...
What's the difference between `auto x = vector<int>()` and `vector<int> x`?
Why is "Consequences inflicted." not a sentence?
How widely used is the term Treppenwitz? Is it something that most Germans know?
Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?
How to bypass password on Windows XP account?
How much radiation do nuclear physics experiments expose researchers to nowadays?
How do I keep my slimes from escaping their pens?
ListPlot join points by nearest neighbor rather than order
If a contract sometimes uses the wrong name, is it still valid?
Why are there no cargo aircraft with "flying wing" design?
Storing hydrofluoric acid before the invention of plastics
Why aren't air breathing engines used as small first stages
Do I really need recursive chmod to restrict access to a folder?
What is a Meta algorithm?
How do I stop a creek from eroding my steep embankment?
3 doors, three guards, one stone
List *all* the tuples!
Should I call the interviewer directly, if HR aren't responding?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
What would be the ideal power source for a cybernetic eye?
How to motivate offshore teams and trust them to deliver?
Why is black pepper both grey and black?
Does surprise arrest existing movement?
Is the address of a local variable a constexpr?
Using Apache as a proxy with chunked encoding and digest authentication
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Trouble with mod_proxy and mongrel_railsApache gzip with chucked encodingTomcat cookies not working via my ProxyPass VirtualHostRewriting 302 App Server ReDirect URLs with Apache Proxy in the MiddleApache2 proxypassreverse directive appending virtualhost port?Basic auth Apache with TomcatSetting up an Apache forward proxy with 2-way SSL with certificate CN check failsERR_INCOMPLETE_CHUNKED_ENCODING when using AddOutputFilterByType in Apache reverse proxyApache 2.4 sends 502 errors when backend sends 401 on large file uploadsApache reverse proxy timeout in 60 seconds
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm experiencing a strange problem. I'm using Apache as a proxy and submitting data using chunked encoding. The issue that when I try to use digest authentication in this configuration the proxy just hangs and eventually times out. The request never makes it to the server that is sitting behind Apache.
Here is my bare bones apache configuration.
<VirtualHost *:80>
SetEnv proxy-sendcl 1
SetEnv proxy-nokeepalive 1
ProxyPass / http://localhost:8000/ timeout=0
ProxyPassReverse / http://localhost:8000/
</VirtualHost>
And here is a basic curl command that I'm using which reproduces the issue:
curl --request POST --header "Transfer-Encoding: chunked" --insecure -F file=@myfile http://192.168.7.158/ --digest --user someuser:password
Is this a known issue? Are there any workarounds? Am seeing this on both Apache 2.2 and 2.4.
apache-2.2 mod-proxy apache-2.4 chunked digest
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm experiencing a strange problem. I'm using Apache as a proxy and submitting data using chunked encoding. The issue that when I try to use digest authentication in this configuration the proxy just hangs and eventually times out. The request never makes it to the server that is sitting behind Apache.
Here is my bare bones apache configuration.
<VirtualHost *:80>
SetEnv proxy-sendcl 1
SetEnv proxy-nokeepalive 1
ProxyPass / http://localhost:8000/ timeout=0
ProxyPassReverse / http://localhost:8000/
</VirtualHost>
And here is a basic curl command that I'm using which reproduces the issue:
curl --request POST --header "Transfer-Encoding: chunked" --insecure -F file=@myfile http://192.168.7.158/ --digest --user someuser:password
Is this a known issue? Are there any workarounds? Am seeing this on both Apache 2.2 and 2.4.
apache-2.2 mod-proxy apache-2.4 chunked digest
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm experiencing a strange problem. I'm using Apache as a proxy and submitting data using chunked encoding. The issue that when I try to use digest authentication in this configuration the proxy just hangs and eventually times out. The request never makes it to the server that is sitting behind Apache.
Here is my bare bones apache configuration.
<VirtualHost *:80>
SetEnv proxy-sendcl 1
SetEnv proxy-nokeepalive 1
ProxyPass / http://localhost:8000/ timeout=0
ProxyPassReverse / http://localhost:8000/
</VirtualHost>
And here is a basic curl command that I'm using which reproduces the issue:
curl --request POST --header "Transfer-Encoding: chunked" --insecure -F file=@myfile http://192.168.7.158/ --digest --user someuser:password
Is this a known issue? Are there any workarounds? Am seeing this on both Apache 2.2 and 2.4.
apache-2.2 mod-proxy apache-2.4 chunked digest
I'm experiencing a strange problem. I'm using Apache as a proxy and submitting data using chunked encoding. The issue that when I try to use digest authentication in this configuration the proxy just hangs and eventually times out. The request never makes it to the server that is sitting behind Apache.
Here is my bare bones apache configuration.
<VirtualHost *:80>
SetEnv proxy-sendcl 1
SetEnv proxy-nokeepalive 1
ProxyPass / http://localhost:8000/ timeout=0
ProxyPassReverse / http://localhost:8000/
</VirtualHost>
And here is a basic curl command that I'm using which reproduces the issue:
curl --request POST --header "Transfer-Encoding: chunked" --insecure -F file=@myfile http://192.168.7.158/ --digest --user someuser:password
Is this a known issue? Are there any workarounds? Am seeing this on both Apache 2.2 and 2.4.
apache-2.2 mod-proxy apache-2.4 chunked digest
apache-2.2 mod-proxy apache-2.4 chunked digest
edited Jul 17 '14 at 23:07
Cory
asked Jul 17 '14 at 22:56
CoryCory
2111310
2111310
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In my opinion, if you want to use chunked, you shoud set SetEnv "proxy-sendchunked" not "proxy-sendcl"
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f613490%2fusing-apache-as-a-proxy-with-chunked-encoding-and-digest-authentication%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In my opinion, if you want to use chunked, you shoud set SetEnv "proxy-sendchunked" not "proxy-sendcl"
add a comment |
In my opinion, if you want to use chunked, you shoud set SetEnv "proxy-sendchunked" not "proxy-sendcl"
add a comment |
In my opinion, if you want to use chunked, you shoud set SetEnv "proxy-sendchunked" not "proxy-sendcl"
In my opinion, if you want to use chunked, you shoud set SetEnv "proxy-sendchunked" not "proxy-sendcl"
answered Oct 6 '14 at 7:14
cheneycheney
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f613490%2fusing-apache-as-a-proxy-with-chunked-encoding-and-digest-authentication%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown