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)

0
votes
0answers
84 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 ...
2
votes
1answer
6k 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 ...
1
vote
0answers
98 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 www....
1
vote
4answers
157 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 ...
2
votes
1answer
134 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 ...
0
votes
1answer
123 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 ...
5
votes
3answers
2k 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
498 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 --15:44:...
9
votes
3answers
2k 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
32 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 ...
1
vote
2answers
92 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 ...
-1
votes
1answer
300 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, imgur....
0
votes
0answers
78 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 ...
0
votes
1answer
319 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 ...
1
vote
0answers
34 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
116 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
130 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 IPv4-only-...
1
vote
0answers
79 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
131 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 ...
2
votes
1answer
1k 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 /...
3
votes
1answer
498 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
173 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 ...
9
votes
2answers
21k 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
38 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. ...
2
votes
2answers
4k 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
90 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
20 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
43 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
386 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
212 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
122 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 don'...
1
vote
1answer
133 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
7k 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
181 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
1answer
432 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+" ...
4
votes
1answer
112 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
111 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, ...
1
vote
1answer
223 views

Redirect output to file, then write sentence with exit code to end of same file

I am looking to redirect all the output from a python script to output.out, then upon completion of the python script, write Exited with code: <EXIT CODE HERE> to the same file where <EXIT ...
0
votes
1answer
40 views

I'd like to redirect a domain via the hosts file, a bit confused as to how

I have a program that I have lost source code for that contacts a server to check for updates. If the server cannot be found there is an unhandled exception, resulting in a SIGSEGV. I no longer own ...
0
votes
1answer
551 views

How to redirect to specific port from DNS

I've got a teamspeak 3 server from my friend, but problem is we've got to remember the IP address if we want to connect onto it from anywhere else than home. So I bought domain and I wanted to ...
2
votes
1answer
140 views

Iptables redirecting

I have set up a Personal hotspot using Hostapd. But this hotspot is not connected to the internet but I do have Apache installed on it. What I am trying to achieve is to redirect all the clients (that ...
1
vote
0answers
257 views

Completely masking a website URL?

I have a tiny personal website (currently under construction) hosted on my raspberry pi. I also want to setup an OwnCloud server, but on my actual desktop computer for several reasons (not only ...
0
votes
1answer
139 views

Try to download mp3 with wget but it redirects to another site?

I am trying to download mp3 files from this adress hanialrefai using wget like this: wget -r -l0 -k -p -A.mp3 http://hanialrefai.com but it redirects me to http://quantsa.ru/?pw and then it say: ...
0
votes
0answers
25 views

Building failsafe system

As an assignment I have to realize failsafe webserver using Virtual machine. I have been trying it using a separate java program on host to monitor heartbeat of the vm and redirecting the http ...
0
votes
1answer
393 views

Curl can't follow “This page should automatically redirect”

I'm attempting to automate a login for the a course webpage I have to check this semester. I know that the POST request I am making is being done correctly because I get to the intermediate redirect ...
3
votes
3answers
2k 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 ...
0
votes
0answers
819 views

Edit or extend chromes redirect limit

I have an internal web app that displays images (among other functions). Google chrome will inconsistently give me an error when retrieving images (net::ERR_TOO_MANY_REDIRECTS). Sometimes I will ...
0
votes
1answer
945 views

How to permanently redirect from one base url to another in IIS 7

I have a website hosted on IIS7 configured with following two host headers members.company1.com members.company2.com I now need to permanently redirect members.company1.com to members.company2.com. ...