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)

4
votes
3answers
191 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 ...
0
votes
2answers
24 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
18 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
17 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
1answer
40 views

How to redirect output to file that has slash in name

I want to have a file whose name is 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 ...
-1
votes
1answer
19 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
0answers
23 views

Javascript Redirect and Pass Referrer [migrated]

I have this code that works great but it will only pass the pathname instead of the entire url. for example it redirects to our login page and only passes /buy-products#example and so on. I need to to ...
-1
votes
0answers
32 views

OpenWRT LuCi redirect to https

LuCi is accessible by https and http is disabled with uhttpd's listen_http. How can i redirect http request to LuCi to https?
0
votes
0answers
25 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 ...
-1
votes
1answer
27 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
0answers
12 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
0answers
19 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
2answers
35 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 ...
0
votes
0answers
26 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
32 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
57 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 ...
1
vote
1answer
118 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 ...
0
votes
1answer
48 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 ...
3
votes
2answers
311 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) ...
0
votes
0answers
70 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 ...
0
votes
0answers
29 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. ...
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
1k 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
47 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 ...
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
0answers
15 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
70 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 ...
0
votes
1answer
18 views

redirecting DNS to new webhost

I am changing web host for an existing site and before redirecting the nameservers to the new host I want to install a php shopping cart. I have uploaded the shopping cart to my new web host but when ...
0
votes
1answer
32 views

Static redirect on windows?

So I want to create a static redirect - or: a local domain. What I want to type in my browser http://plex.home/ It's not necessary to have a fake TLD - i.e. .net would be okay too Where I want ...
1
vote
1answer
99 views

Attempting to redirect webpage to local html file, does not launch html file

Just out of curiousity I'm attempting to redirect 'www.google.com' to a local html file on my pc. As in every attempt of loading google.com, it would instead boot up the html file. The html file ...
0
votes
1answer
52 views

How do regular expressions work in htaccess to redirect an IP range

I've been trying to redirect an IP range from one link to another. I can do it for a single 256 address block: RewriteEngine On RewriteBase / RewriteCond %{REMOTE_HOST} ^111\.111\.111\. RewriteCond ...
0
votes
0answers
18 views

Apache redirect awstats always to the same configuration

I configured apache to make a simple redirect for awstats: RewriteRule ^/awstats$ /awstats/ RewriteRule ^/awstats/$ /awstats/awstats.pl?config=domain.com [R] This configuration is inside a ...
0
votes
0answers
23 views

How can I force this redirection?

I currently use UAControl addon to force neogaf to recognize my computer as a mobile device, so when I visit m.neogaf.com and then browse around it stays on the mobile version instead of reverting ...
0
votes
0answers
95 views

Any idea how adfoc.us is hijacking browsers?

I have checked my computer for malware and unwanted software using: windows defender eset tdss killer symantec NPE hijackthis and two other antimalware applications. but no threat is found. I ...
0
votes
0answers
59 views

redirect stdin/stdout of a program to another telnet connection stdin/stdout

I have read the following good article [http://bradconte.com/redirect-input-output-for-existing-process-on-linux][1] Which explains how to redirect program stdin/stdout using pipe. I would like to ask ...
0
votes
0answers
116 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
vote
1answer
30 views

Redirection and hostname

Is it possible, on a linux local machine, to force all requests on the 443 port toward an hostname (defined in /etc/hosts) to use another port? Eg.: If my browser tries to get https://host.domain.org ...
0
votes
0answers
114 views

Browser redirects links to Adfoc.us [duplicate]

Since yesterday when I open a link, browser redirect it to "adfocus.us" site! for example: I open: test.com and browser redirect to: adfocus.us This redirection happens after going to page (not ...
3
votes
4answers
5k views

Browser redirects almost all of links to Adfoc.us

Since yesterday, most of users in our region and as far as I know, many other peoples received a lot of link redirection. most of these redirection are going to adfoc.us website. this redirection ...
0
votes
0answers
25 views

Firefox redirecting, ignoring preference setting

I have Firefox set to block redirects as per the following "Advanced" tab: Even so it is still redirecting. For example, if enter the URL "http://opendap.aviso.oceanobs.com/thredds/dodsC" it ...
0
votes
0answers
92 views

301 redirect DNS issues related to Nginx change

I think I screwed up something in my Nginx configuration. Here is how I can explain it: I own a domain lets call it abc.com Before all the issues happened DNS was configured in the following way at ...
21
votes
1answer
2k views

Why does the “>” command in a Windows console not redirect all messages to a file?

I am trying to build a Scala project with sbt, so I run a command: sbt clean test > log.log Which means that any messages that the sbt tool writes to the Windows console should be written to the ...
0
votes
0answers
9 views

Redirecting http to https in my own windows , ( system wide )

I want to Redirect any http://steamcommunity.com/* Addresses To https://steamcommunity.com/* just for this Site ! i want it to be system wide , the thing is , it's my ISP problem , i can ...
0
votes
0answers
100 views

Issue using virtual KVM java app

Receiving this error trying to use console redirection to remotely control a server: Error: The field has an invalid value: <?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" ...
3
votes
1answer
52 views

Output to a file using file descriptor

I was wondering if it's possible to redirect output of one process (in OS X/ Linux) to another process if I know the fd of another process. For example: I open a file using vim: vim /tmp/test. This ...
2
votes
1answer
39 views

Pipe standard error to file and keep it on standard error?

I have a script (fragment) for which I'm logging output and standard error: #!/bin/sh #... { date "+%Y-%m-%d %T" cd $workdir ls -ltr validfile badfile #example command that provides stdout, ...
0
votes
0answers
97 views

set up ruckus hotspot with only redirection to specific site

For work I have to set up a ruckus AP with a hotspot redirecting to a specific website (on a local server). This website is just for usability as the whole internet should be availble after the first ...
0
votes
0answers
24 views

Trying to redirect anything after the full URL without /68 for example

I need to remove anything on the end of URLs like the below examples without the /68 or any number ID https://www.website.com/forum/making-coffee/68 <-- I would like to remove the / and anything ...
0
votes
0answers
15 views

mod_rewrite with redirected link containing %20 in it

I need to redirect a link to a other which contains %20 in it. It needs to display it. I tried by just giving but it ends up showing 0 instead of %20. FYI RewriteRule ^/youtube?(.*)$ ...