Squid: Setup reverse proxy based on url pathsquid with urlpath_regex not working with httpssquid (reverse...
What the real concept of Static keyword in perspective of Embedded C. See below code
"was fiction" vs "were fictions"
Addressing unnecessary daily meetings with manager?
A horrible Stockfish chess engine evaluation
Why did Old English lose both thorn and eth?
To what extent would a wizard be able to combine feats to learn to mimic unknown spells?
Misspelling my name on my mathematical publications
How to drill holes in 3/8" steel plates?
What is the minimum time required for final wash in film development?
Is there any reason why MCU changed the Snap to Blip
What is the correct parsing of お高くとまる?
Credit score and financing new car
Is this a reference to the film Alien in the novel 2010 Odyssey Two?
What is /bin/red
How to compare the ls output of two folders to find a missing directory?
Misrepresented my work history
Is it okay to roll multiple attacks that all have advantage in one cluster?
Couldn't make condition-case work
Is it possible to split a vertex?
What are the original Russian words for a prostitute?
Can i use larger/smaller circular saw blades on my circular / plunge / table / miter saw?
What is this little owl-like bird?
Is there a nice way to implement a conditional type with default fail case?
Why is Nibbana referred to as "The destination and the path leading to the destination"?
Squid: Setup reverse proxy based on url path
squid with urlpath_regex not working with httpssquid (reverse proxy) configurationMultiple ACLs in Squid ProxyProxy Filtering with SquidHow to pass certain URL to parent proxy in squid?firewalld + squid : how-to setup a proxyReverse proxy multiple backend web serversiptables rules on squid proxy machineRedirect request to corporate proxy server with nginx reverse proxySquid block non-proxy userSquid TLS 1.2 reverse proxy without caching
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains.
e.g.
Given a webpage hosted at http://myinternalserver/mypage.html
When I request https://www.google.com/mypage.html via the proxy
Then my webpage is displayed.
I've added the following snippet to my squid.conf
, however the content isn't being intercepted (I get 404 Not Found
from target site).
What am I doing wrong?
squid.conf
# reverse proxy /mypage* requests to internal server
acl myrule urlpath_regex ^/mypage
cache_peer myinternalserver parent 80 0 no-query originserver name=server1
cache_peer_access server1 allow myrule
cache_peer_access server1 deny all
I've tried turning on detailed logging, but I can't see myrule
being checked (it's never logged). Is the ACL not being picked up? Do I have to enable urlpath_regex
? Is is a compile option for Squid?
Squid Version
- Squid Cache: Version 3.5.27
Related:
- squid with urlpath_regex not working with https
Full disclosure, I've also posted in serverfault - will close whichever receives the least attention.
proxy route squid reverse-proxy
add a comment |
I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains.
e.g.
Given a webpage hosted at http://myinternalserver/mypage.html
When I request https://www.google.com/mypage.html via the proxy
Then my webpage is displayed.
I've added the following snippet to my squid.conf
, however the content isn't being intercepted (I get 404 Not Found
from target site).
What am I doing wrong?
squid.conf
# reverse proxy /mypage* requests to internal server
acl myrule urlpath_regex ^/mypage
cache_peer myinternalserver parent 80 0 no-query originserver name=server1
cache_peer_access server1 allow myrule
cache_peer_access server1 deny all
I've tried turning on detailed logging, but I can't see myrule
being checked (it's never logged). Is the ACL not being picked up? Do I have to enable urlpath_regex
? Is is a compile option for Squid?
Squid Version
- Squid Cache: Version 3.5.27
Related:
- squid with urlpath_regex not working with https
Full disclosure, I've also posted in serverfault - will close whichever receives the least attention.
proxy route squid reverse-proxy
add a comment |
I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains.
e.g.
Given a webpage hosted at http://myinternalserver/mypage.html
When I request https://www.google.com/mypage.html via the proxy
Then my webpage is displayed.
I've added the following snippet to my squid.conf
, however the content isn't being intercepted (I get 404 Not Found
from target site).
What am I doing wrong?
squid.conf
# reverse proxy /mypage* requests to internal server
acl myrule urlpath_regex ^/mypage
cache_peer myinternalserver parent 80 0 no-query originserver name=server1
cache_peer_access server1 allow myrule
cache_peer_access server1 deny all
I've tried turning on detailed logging, but I can't see myrule
being checked (it's never logged). Is the ACL not being picked up? Do I have to enable urlpath_regex
? Is is a compile option for Squid?
Squid Version
- Squid Cache: Version 3.5.27
Related:
- squid with urlpath_regex not working with https
Full disclosure, I've also posted in serverfault - will close whichever receives the least attention.
proxy route squid reverse-proxy
I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains.
e.g.
Given a webpage hosted at http://myinternalserver/mypage.html
When I request https://www.google.com/mypage.html via the proxy
Then my webpage is displayed.
I've added the following snippet to my squid.conf
, however the content isn't being intercepted (I get 404 Not Found
from target site).
What am I doing wrong?
squid.conf
# reverse proxy /mypage* requests to internal server
acl myrule urlpath_regex ^/mypage
cache_peer myinternalserver parent 80 0 no-query originserver name=server1
cache_peer_access server1 allow myrule
cache_peer_access server1 deny all
I've tried turning on detailed logging, but I can't see myrule
being checked (it's never logged). Is the ACL not being picked up? Do I have to enable urlpath_regex
? Is is a compile option for Squid?
Squid Version
- Squid Cache: Version 3.5.27
Related:
- squid with urlpath_regex not working with https
Full disclosure, I've also posted in serverfault - will close whichever receives the least attention.
proxy route squid reverse-proxy
proxy route squid reverse-proxy
asked 59 mins ago
Nick GrealyNick Grealy
1266 bronze badges
1266 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f529081%2fsquid-setup-reverse-proxy-based-on-url-path%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f529081%2fsquid-setup-reverse-proxy-based-on-url-path%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