I want to use Fiddler to redirect URL requests from: "https://pstatic.fo.local:8088/....." to "https://127.0.0.1:8088/...."
For example, a request to "https://servername:8088/hello/world/index.html" will be redirected to "https://127.0.0.1:8088/hello/world/index.html".
I read the following post: Fiddler: Creating an AutoResponse rule to map all calls to one host to another host
and I used Rule Editor to do this redirect:
It didn't succeed. I also tried:
regex:https://pstatic.fo.local:8088/(.*) --> https://127.0.0.1:8088/$1
regex:https://pstatic.fo.local:8088/(.*) --> https://127.0.0.1:8088/$0
Whenever I enter the browser and type: https://pstatic.fo.local:8088/hello/world/index.html
I get the following in the browser:
Your connection is not private
Attackers might be trying to steal your information from pstatic.fo.local (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID
Do you know what I can do to make it work?
Fiddler Classic and fiddler Everywhere are special-purpose proxy server tools for debugging web traffic from applications like browsers. They're used to capture and record this web traffic and then forward it onto a web server.
Fiddler's AutoResponder tab allows you to return files from your local disk instead of transmitting the request to the server.
In Fiddler, click the File menu. Ensure Capture Traffic is enabled.
The option:
regex:https://pstatic.fo.local:8088/(.*) --> https://127.0.0.1:8088/$1
is the right one.
What I had to do it enable the option of handling HTTPS requests. It can be done by: Tools-> Telerik Fiddler Optoins -> HTTPS-> tick the options "Capture HTTPS CONNECTs" and "Decrypt HTTPS traffic".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With