Skip to main content

All Questions

Tagged with
1 vote
1 answer
1k views

HTTP Proxy behavior for X-Forwarded-Host header

I have a question regarding how HTTP Proxies usually handle the "X-Forwarded-Host" header. Consider the following scenario where a client sends a HTTP request through a chain of proxies: ...
Michael Schmid's user avatar
0 votes
1 answer
159 views

Redirect Chain URL

how can I solve the following redirect chain problem ? http://www.website.com/ > https://www.website.com/ > https://website.com/ I want the forwarding above to be like http://www.website.com/ &...
user avatar
1 vote
1 answer
964 views

REST API generating absolute URLs behind reverse proxy

Situation I have a REST API in place that returns JSON objects to its clients. Part of said JSON responses are absolute URLs to other "linked" resources/objects of the form "http://...
Michael Schmid's user avatar
0 votes
1 answer
304 views

http forward with domain blocking

I'm trying to implement a http forwarding server that supports domain blocking. I've tried go io.Copy(dst, src) go io.Copy(src, dst) and it works like a charm on tcp forwarding. Then I've tried to do ...
F. Henry's user avatar
  • 104
0 votes
0 answers
21 views

Is there a way to handle a https forwarding to http without a browser error message?

Scenario: We have two domains, example.com (used as simple Webpage) and example.de (used as a Shop). The Shop was secured with a ssl certificate und used https connection. We closed the Shop and want ...
Jan Zimmermann's user avatar
0 votes
1 answer
256 views

My website is forwarding to /public_html without reason

Some time ago i wanted to my website forwards from http:// to https:// I edited .htaccess file with some code, but it did'nt work and I deleted .htaccess. Now, without .htaccess file, it redirects ...
TokePoii's user avatar
0 votes
1 answer
606 views

How to reroute http requests to another server in node

I have a mobile app that relies on a node.js server hosted on a Microsoft Azure VM. I am currently in the process of creating a new Azure VM that I would like all API directed towards but since I have ...
Michael Blasius's user avatar
0 votes
1 answer
960 views

How to do MSMQ routing over HTTP?

Ì have a setup where I have a chain of servers that I need to send messages between: A -> B -> C On A I have an application which puts a message on a local MSMQ queue (MSMQ-A) on A. This queue ...
pac w's user avatar
  • 657
0 votes
1 answer
1k views

Can't connect Ngrok with Vagrant

I'm using the "Scotchbox" (scotchbox.io) Vagrant file and I would like to use it together with Ngrok to demo work in progress for clients. I'm not really sure how to set this up properly with custom ...
Staffan Estberg's user avatar
3 votes
1 answer
4k views

Nginx to iis forwarding Error 400

Please help me. I have iis server and nginx proxy on it. When i connected to my nginx I get sometimes 400 Bad Request (Invalid hostname) error and when i press F5 and reload page my site loading ...
Dmitry Pyatin's user avatar
0 votes
1 answer
330 views

Port forwarding does not work for http server

I created simple http server (using Delphi idHttpServer). The problem is: request from internet cannot reach my pc. Router is Asus RT-N15U (with TomatoUSB). Windows firewall disabled. I have real ...
user1596704's user avatar
2 votes
1 answer
958 views

Forward HTTP requests with Rails

Is there some way to forward with Rails any incoming HTTP request to other web site as is, regardless of request type and its data?
Paul's user avatar
  • 26.3k
4 votes
1 answer
14k views

Why am I getting a NoSuchBucket 404 error when forwarding www?

I'm trying to forward (with masking) www.theaxelrods.com to my Amazon S3 hosted static site at http://axelrods.s3-website-us-west-2.amazonaws.com. For some reason theaxelrods.com forwards just fine, ...
Jeff Axelrod's user avatar
  • 28.1k
0 votes
1 answer
91 views

HTTP proxy server - need to handle dynamic client

I have developed serve-client model based on UDP. Client are connected to server on random basis. I mean number of clients alive at a time is not fixed. Any new client can communicate any time. It ...
user2377110's user avatar
0 votes
1 answer
145 views

URL forwarding and header/content modification

Say there is an incoming HTTP POST request to /first/path. Is there any sample Java code that adds new Header1 and forward this POST to /second/path. This is a server side forwarding using ...
nordic's user avatar
  • 1

15 30 50 per page