Can be either redirection internet traffic to different IP's or redirection of files from one path to another path.

learn more… | top users | synonyms (1)

1
vote
2answers
517 views

Redirect output of remote python app started through ssh to file

I have a python app in a remote server that i need to debug, when I run the app locally it prints some debug information (including python tracebacks) that i need to monitor. Im trying to redirect ...
3
votes
2answers
1k views

Windows cmd output redirection to standard input ( >&0 )

From a question on Stackoverflow, i've being testing with redirection from/to stdin stream. And this tests, trying to send data to the stdin stream, just to see what happens, end with an apparently ...
2
votes
0answers
38 views

Cannot redirect .exe output to file

I'm trying to capture a program's output and then write it to a file. Running MyFile.exe -args > foo.txt gives an empty file. The same goes for MyFile.exe -args > foo.txt 2>&1. If I run ...
0
votes
0answers
21 views

cat > $FILE_NAME << EOF - Explanation of the inner workings

I know what this one does, I learned "pattern like" and just works. I also know: that > is a redirect to a file that << is also a redirect to file see below EOF is just a placeholder, when ...
0
votes
1answer
11 views

Proper Apache redirection from http to https

I set up a new virtual host for a new site on my server, but it's acting strangely despite having the exact same settings as my original site. I want all requests to be redirected to HTTPS, simply ...
0
votes
4answers
71 views

How does piping/redirection in Linux work exactly?

I have these three examples of redirection stdin/stdout, only one of them is working the way it is intended to. I would love if someone can explain that to me. The goal is to sort the contents in ...
0
votes
0answers
20 views

Redirect a page to random wikipedia pages daily [closed]

I was working around for a code to randomly fetch wikipedia links daily and redirect the page. A sample code is like this <script type="text/javascript"> (function(n){ var pages = ...
1
vote
0answers
13 views

How do I undo an apache2 ubuntu HTTP HTTPS redirect?

I've got an apache2 instance running, with HTTPS redirect running: <IfModule mod_ssl.c> <VirtualHost *:80> ServerAdmin support@myco.com DocumentRoot "/var/www" ServerName ...
2
votes
1answer
13 views

Enable Gitlab link redirects for slack

We're running a self hosted Gitlab instance and using Slack for communication at work. I've run into some issues when trying to follow links to our Gitlab instance posted on Slack (by web-hooks in ...
1
vote
2answers
53 views

How to redirect output to file that has slash in name

I want to create a file named ./https://www.example.com, but the following doesn't work: [ ~]$ URL="https://www.example.com" [ ~]$ echo "Hello!" >"$URL" bash: https://www.example.com: No such file ...
0
votes
0answers
21 views

Is there a way to run the runescape java client on a server and redirect the output?

Im not even really sure if i word the question correctly so i will just explain the situation in detail: So first I want to play runescape at work so i can level some skills AFK a little (work can be ...
16
votes
3answers
7k views

What is the difference between &> and >& in bash?

What is the difference between &> and >& in bash? tldp did not mention the latter one. Is it really a redirection operator? Or does someone know a more complete tutorial?
2
votes
1answer
3k views

Random redirection to adult sites of mobile.juicyads.com

Since two days ago, almost all of my clicks open new tab and redirect to this Adult-only URL: mobile.juicyads.com/service_redirect.php?p=64686&s=124309&u=http://www.google.com Parameters p ...
0
votes
1answer
61 views

Firefox redirects the URL [duplicate]

Few months back, kickass.to changed to kickass.so and when I used to type kickass.to and enter, Firefox was redirecting me to kickass.so. Now kickass.to is back in action and kickass.so doesn't exist ...
29
votes
4answers
35k views

Redirect URLs in Chrome?

Is there any extension to Chrome that will let me force a URL from a particular domain to be redirected to another domain? (E.g. Redirect http://www.google.com to https://encrypted.google.com.) ...
4
votes
3answers
222 views

How to redirect output of a command to a file when the command will prompt user inputs?

I have a command which will prompt user for some inputs and then output the result to the terminal. I typed the command like below to redirect the output to a file: $the_command > abc.txt But it ...
11
votes
3answers
7k views

Windows CMD Batch, START and output redirection

I would like to run two programs simultaneously from a batch file, and redirect the first program's output into a text file like: start python 1st.py arg1 arg2 > out.txt start 2nd.exe %1 arg2 arg3 ...
0
votes
2answers
48 views

Why wget fails with 'https: Host not found' on Windows?

I'm trying to use wget on Windows 8.1 prompt. I installed wget.exe in the folder System32 and run wget on cmd. But the following error appear: M:\site>wget http://wordpress.org/latest.zip ...
2
votes
1answer
50 views

Is there any way I can force Firefox to NOT cache redirects (301 and 302)?

I am a web developer, and there are many times where I have to create or alter a 301 or 302 redirect. It is cumbersome to test immediate changes in Firefox because it caches redirects, so if I change ...
0
votes
0answers
19 views

Pipeline from <filename> to <filename> in Windows CMD?

Is there a way to do this without a temporary file? I've tried with tee but that failed. Test case: >echo "foo bar" > ex2.go >type ex2.go "foo bar" >type ex2.go > ex2.go >type ...
0
votes
0answers
133 views

Why is ZENMATE directing me to google.com.tr

I'm in Bali, Indonesia. I would love to use ZENMATE, but every time I install it on any computer, I get redirected to google.com.tr (Turkey) The minute I deactivate it, everything goes back to normal. ...
-1
votes
1answer
26 views

Redirect all Browser Traffic to a Single Web Page

Simply put, I want to make a Windows 8.1 machine redirect all traffic to a page I specify. For instance, if I use Google Chrome, and type in any URL, I want the user to end up on, for example, ...
0
votes
1answer
66 views

Redirect URL's in .htacess and Webmaster tools

Is it best SEO practice to redirect "dead" URL's via .htacess AND remove from Google Webmaster Tools? For instance, we have a discontinued product at https://www.example.com/product1/ So in my ...
0
votes
0answers
32 views

How can one redirect to a new host all traffic destined for an old host?

We're moving a bunch of services, say from 1.2.3.4 to 5.6.7.8. In order to test that the new services are correctly configured, we'd like to redirect (to the new host) all traffic destined for the ...
2
votes
1answer
186 views

Run command for every line of a file in bash, passing lines as standard input

How do I pass some input to a command line by line (ie. invoke the command for every line)? xargs does not work because it passes the lines as arguments, not as standard input. The specific case ...
102
votes
9answers
48k views

How can I make Chrome stop caching redirects?

I am working on a web application that is using redirects (for pretty URLs). I am trying to debug logic in the way the redirects are working. However Google Chrome keeps remembering the redirects and ...
0
votes
1answer
2k views

ProxyPass within plesk 10/11

I would like to redirect some folder within apache2. My webserver uses with plesk 11. I followed this tutorial. It says I've got to put redirection rules in this file ...
-1
votes
1answer
49 views

Extension to load a specific webpage after idle time

So I will have a demo computer set up running a specific site for users to interact with. I would like it set up so that somebody can come use it, and then walk away, and the browser will ...
0
votes
2answers
43 views

Forwarding a TeamSpeak instance

I’m trying to setup up a TeamSpeak3 server on my home network "net1.mydomain". It uses an IPv4 subnet of 10.0.0.0/8 in LAN; internet access using IPv4 is possible via CGN. This renders ...
3
votes
4answers
6k views

Redirect stdout while a process is running — What is that process sending to /dev/null

I've run a command and redirected it's output via > /dev/null Now that it's been running significantly longer than I expected I want to see what it's doing. Is there a way to re-redirect the ...
1
vote
0answers
17 views

Set console width while redirecting the output

I'm trying to avoid wrapping long lines in the NetUsers output, and the output is ok using a cmd window or Console2 with 200 cols. However, if I'm redirecting the output to a file, the output is ...
1
vote
1answer
320 views

How can I redirect OS X dtruss output when running with sudo?

I'm running dtruss on Mac OS X 10.9. Simple example is: sudo -c ls But I'd like to capture the dtruss output into a file. I saw something that suggests that I can do something like: sudo bash -c ...
1
vote
0answers
22 views

Redirecting a local network path to the local disk

I have a computer in a network that automatically tries to open a local network path, like: \\bbserver\storage\dir I would like to redirect this network directory to my local hard drive, so that ...
0
votes
0answers
32 views

DNS Redirecting in Google Chrome

The other day we were attempting to redirect traffic in my office. We wanted to redirect YouTube, Facebook, and other similar sites back to our website. Originally the plan was to just use the Hosts ...
0
votes
0answers
38 views

Parental Control for Google Chrome: Redirection

We may block web sites (let's say booking.com) on Google Chrome using some 3rd-party extensions or Chrome proxy settings, thus a user won't be able to open the banned web page. Is there a way to ...
0
votes
1answer
121 views

shell standard streams redirection order OR 2>&1 1>/dev/null vs 1>/dev/null 2>&1

Can somebody please clarify differences? Is some of those considered as best practice? If I remember correct I somehow on SO read that this 1>/dev/null should precede this: 2>&1 ls -al ...
5
votes
2answers
5k views

In Firebug, how can I stop a redirect?

In Firebug, how can I stop a redirect? I want to examine and edit a webpage before it redirects. Under the Net tab, using Persist I can see all the GET including the previous pages and the redirect ...
0
votes
1answer
52 views

Using “hosts” file to redirect

Ok, I know how to redirect a normal page using the "host" file but it doesn't work for certain pages like http://rustledjimmies.com/ or http://heyyeyaaeyaaaeyaeyaa.com/ For example, I want to ...
0
votes
0answers
9 views

Redirect outgoint traffic on port to incoming on other port

I would like to redirect packets that are send from localhost to some other port in network, to other port on localhost. Example: Application sends data to 145.125.130.20 port 3554. I would like to ...
0
votes
0answers
30 views

How to manage file descriptors of a process on Linux?

I have an executable file, which is a black box for me. now I want to execute it in a protected mode that: Does not change any file on my system. Does not send any information to any other place. ...
3
votes
2answers
854 views

Prevent automatic redirects in Firefox

Firefox used to prevent automatic redirects and have a button you could use to opt-in to a redirect. However, a update a couple of months ago eliminated this feature and now Firefox (version 35) ...
14
votes
4answers
31k views

Remotely run script on Unix, get output locally?

I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would ...
0
votes
0answers
71 views

Redirect traffic destined for IP and port

I have a program that wants to connect to 1.2.3.4 on port 5678, but it can't because the port is blocked on our network. However, I do have an SSH tunnel set up that redirects localhost:5678 to ...
3
votes
2answers
339 views

How can I tell my dd-wrt router to use someone's Amazon Affiliates link when I point my browser to amazon.com?

Here's what I'd like to do. Instead of a one-time donation to one of my favorite free tools (junecloud.com) I'd like to do what they suggest here and use their Amazon Affiliates link to do all my ...
2
votes
3answers
881 views

Some Chrome Extension Redirects me to Malicious Sites When Amazon.com is Accessed

I'm getting redirected to ezshoplist.me and alecyueee.us, when I try to access amazon.com. I'm actually redirected to these sites which redirects back to Amazon.com. I searched a lot regarding these ...
0
votes
0answers
31 views

Recommended to Update Flash Player Virus [duplicate]

I keep getting this popup on my Internet Browser that tells me "It is recommended that you update Flash Player to view this site..." And it will redirect me to some very suspicious-looking website ...
3
votes
1answer
2k views

Google Chrome: changing the omnibox default search engine [closed]

When I run a search for the Google Chrome omnibox (which works as both a URL address bar as well as a search box) the search engine google.de is used and when I type google.com in the address bar it ...
0
votes
0answers
52 views

Using custom URL scheme for Microsoft OAuth app authentication

I'm trying to set up an application in Microsoft's Developer Center and configure its API settings so that it works with OAuth 2.0. I created the app and entered its basic info, got the client ID and ...
0
votes
0answers
16 views

How can I automatically redirect to a website when a specific site attempts to load?

I use the latest version of firefox on windows 8.1. Whenever I login to a specific public wifi network, it automatically redirects me to bing. Is there a way I could have firefox automatically ...
0
votes
0answers
72 views

Website does not Load

This site: ( http://web.blackberry.com/software/smartphones/update/blackberry10-os.html?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os ) Does not load consistently while it works when using ...