Questions tagged [forwarding]

There are myriad kinds of forwarding. Use this if you must, but try to find a more specific [tag] first.

There are many kinds of forwarding. As such, this tag is generally to general.

Try to use a more specific one, like , , , , and many more.

610 questions
157
votes
3 answers

When to use std::forward to forward arguments?

C++0x shows an example of using std::forward: template void foo(T&& arg) { bar(std::forward(arg)); } When is it advantageous to use std::forward, always? Also, it requires to use && in the parameters declaration, is it valid in all…
coyotte508
  • 6,974
  • 5
  • 34
  • 58
147
votes
5 answers

Set up DNS based URL forwarding in Amazon Route53

I'm trying to setup forwarding in Amazon Route53. My last DNS service (Nettica) allowed me to route requests to "aws.example.com" to "https://myaccount.signin.aws.amazon.com/console/". Is this functionality supported by Route53? How does Nettica…
Saurav
  • 2,906
  • 3
  • 17
  • 12
109
votes
9 answers

How to use ssh agent forwarding with "vagrant ssh"?

Rather than create a new SSH key pair on a vagrant box, I would like to re-use the key pair I have on my host machine, using agent forwarding. I've tried setting config.ssh.forward_agent to TRUE in the Vagrantfile, then rebooted the VM, and tried…
Matt V.
  • 9,403
  • 9
  • 30
  • 53
51
votes
6 answers

Getting "error: closed" twice on "adb reverse"

I am trying to reverse-forward port through ADB, but it just returns cryptic error of error: closed. Normal forwarding works. Session snippet: $ adb forward tcp:59778 tcp:59778 $ adb forward --list 015d2109ce0c1a0f tcp:59778 tcp:59778 $ adb forward…
Konrad Jamrozik
  • 2,738
  • 3
  • 25
  • 50
50
votes
6 answers

Python: Get HTTP headers from urllib2.urlopen call?

Does urllib2 fetch the whole page when a urlopen call is made? I'd like to just read the HTTP response header without getting the page. It looks like urllib2 opens the HTTP connection and then subsequently gets the actual HTML page... or does it…
shigeta
  • 1,699
  • 2
  • 18
  • 32
43
votes
9 answers

how do i to forward domain.com to www.domain.com at godaddy for s3 hosted site?

I have: 1) signed up for an aws account 2) set up buckets for domain.com and www.domain.com 3) enabled website settings in properties for each domain 3) set bucket policies for both domains 4) created this cname record: www > …
empathysage
  • 535
  • 1
  • 4
  • 9
43
votes
3 answers

Can I forward env variables over ssh?

I work with several different servers, and it would be useful to be able to set some environment variables such that they are active on all of them when I SSH in. The problem is, the contents of some of the variables contain sensitive information…
singingwolfboy
  • 4,760
  • 3
  • 24
  • 32
41
votes
1 answer

C++11 use-case for piecewise_construct of pair and tuple?

In N3059 I found the description of piecewise construction of pairs (and tuples) (and it is in the new Standard). But I can not see when I should use it. I found discussions about emplace and non-copyable entities, but when I tried it out, I could…
towi
  • 20,210
  • 25
  • 94
  • 167
40
votes
5 answers

Relaying a request in asp.net (Forwarding a request)

I have a web application that communicates between two different web applications (one receiver and one sender, the sender communicates with my application, and my application communicates with both). A regular scenario is that the sender sends a…
El Che
  • 1,231
  • 2
  • 15
  • 33
40
votes
7 answers

How to use HTTP_X_FORWARDED_FOR properly?

Alright, I have an small authentication issue. My web service allows to connect to my API over HTTP with a username and password, but this connection can also be restricted to a specific IP address. This means that the $_SERVER['REMOTE_ADDR'] can be…
kingmaple
  • 3,902
  • 5
  • 27
  • 42
39
votes
2 answers

adb forward remote port to local machine

This is a query regarding the usage of adb on android. Is there a way to forward the remote port i.e. port on the android device/emulator to the local machine to which the device is connected? $ adb forward tcp:port1 tcp:port2 # forwards the local…
Gaurav Khurana
  • 391
  • 1
  • 3
  • 4
35
votes
4 answers

How to forward http request to https in Amazon Route53?

I have a subdomain in Amazon Route53. Let's say secure.example.com If requests come like https://secure.example.com it is ok but I would like to force http requests to come through https. When user types http://secure.example.com it needs to be…
huzeyfe
  • 2,846
  • 5
  • 33
  • 46
33
votes
5 answers

Naked Domain Redirect Failing when using HTTPS SSL on Google App Engine

We've got a website: www.feeltracker.com This is running on Google App Engine On Google App Engine, we have Naked Domain forwarding setup, so that: http://feeltracker.com redirects to http://www.feeltracker.com However, when we try to open the…
Gaurav Sharma
  • 2,551
  • 3
  • 24
  • 35
30
votes
2 answers

iptables FORWARD and INPUT

I have a home network with Linux pc's, which all had iptables running. I think it is easier to put my LAN behind a Linux gateway/firewall, so I've put a pc (with fedora,no gui) between my router and LAN and configured iptables. No problem here,…
user1754764
29
votes
8 answers

VirtualBox port forwarding not working with NAT adapter

I'm trying simple port forwarding with VirtualBox and it appears VirtualBox.exe is listening on the host to the port, but not actually forwarding the connection to the guest. I've tried on multiple ports, and I've restarted VirtualBox several times.…
Roberto Olivares
  • 953
  • 1
  • 9
  • 17
1
2 3
40 41