Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [redirection]

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

1
vote
4answers
4k views

Host file not redirecting

I've been playing around with my Windows 10 host file to get a better understanding of how it works and I've not been successful in redirecting an address yet. I'm trying to redirect yahoo.com or www....
0
votes
0answers
78 views

How to know if a user clicked a link

I have large traffic files that I'm trying to analyze statistically to check if a user clicks on links in specific sites. It is important to say that my packets are sorted by flows (IP1 <=> IP2). ...
0
votes
1answer
554 views

How to remove redirect virus in every browser?

I don't know if this is even a virus. Every time I open a non HTTPS website, it always redirecting me to an unwanted website. I tried: Changing the DNS Scan using Adwcleaner Clear browsing data ...
0
votes
1answer
137 views

I am being redirected to IIS7

I work for a national builder and someone in my sales department is having an issue with being redirected to IIS7 when opening one of our marketing programs. We have a direct link to it on our ...
1
vote
0answers
663 views

HTTP redirect request failed error using WinHttpRequest in Excel

I created an excel script to download Historic prices from international stocks in a text file, the script used to work fine till last Monday, now everytime that I call this segment of the code ...
1
vote
0answers
45 views

How to force users to a local page but then allow them to continue browsing

We have an internal web server on our local network, which serves as a notice board. Sometimes we want to use this to make urgent announcements. In these cases we would like to redirect each user's ...
4
votes
2answers
639 views

How to truncate file used to redirect stdout

I am trying to truncate a file, used for redirected stdout. For example: ping localhost>/tmp/test.log If I call rm /tmp/test.log then redirection stops but the command works. If I call truncate -...
1
vote
0answers
381 views

How to get Edge to respect hosts file redirect?

I cannot get Edge to respect my hosts file redirections. Initially I couldn't get the redirected page to resolve whatsoever so had to change hosts redirect from (as an example) 10.255.22.117 dct.nd....
1
vote
1answer
726 views

Forwarding ICMP over a server without redirects

I need to test network characteristics like RTT in a network for example by using ICMP pings. This question is special since I want to force every packet over a server who needs to work like a router ...
1
vote
0answers
625 views

Self-hosting WordPress site behind NAT results in private IP being shown in client

I'm experimenting with self hosting a WordPress site on a Raspberry Pi. I've got port forwarding set on my router (public IP 1.2.3.4) to forward port 10080 to my Raspberry Pi's private IP (192.168.2....
5
votes
1answer
5k views

Chrome keeps redirecting url

I was working on my wordpress website and I accidentally changed the internal URL of the site and accessed it once. Since then chrome automatically redirects to that URL even though I have reverted ...
1
vote
1answer
1k views

UDP traffic through Socks

How to send all traffic through the socks if it doesn't support UDP filtering directly. For example DNS traffic I can redirect on Socks using the 'DNS Socks Proxy' using the TCP Protocol. Is it ...
1
vote
0answers
400 views

Mapping a local domain to http://localhost:<port_number>

I have a /etc/hosts file with the two following lines: 127.0.0.2 myapp.dev 127.0.0.3 api.myapp.dev and this works fine. When I ping myapp.dev it maps to 127.0.0.2 and when I ping api.myapp.dev ...
1
vote
1answer
2k views

Iptables Captive Portal Redirect http but allow https Pass Through

I have followed this tutorial to create an Access Point that redirects all http requests to my local served web page. However https requests, due to certificate errors, do not get my page and instead ...
1
vote
1answer
56 views

UNIX redirecting to a file without writing permission system handling

I am learning the UNIX environment and have a question.. When it comes to redirecting a std error to a file, what happens if the file we redirect to has writing permissions denied to the user? ...
4
votes
4answers
6k views

How can I prevent Microsoft Online login Portal from redirecting to an old SSO page?

I used to work at a company with an Active Directory, but I no longer do. I now work at another company which uses Azure, but doesn't use Active Directory or Outlook etc. Whenever I try to log into ...
1
vote
1answer
321 views

How can I redirect the standard output of an SSH Session into a file?

I want to collect CPU information from a cisco device via SSH, but i want to save the info into a file. How can I do that?
0
votes
1answer
107 views

Apache:Redirecting from subdomain to Wordpess page URL Path [closed]

I have a wordpress blog site that runs a sort of farm style instance. Each user has a url that is appended after the master subdomain(Example blog.CoolCompany.com/user) I have to create a DNS record ...
1
vote
0answers
471 views

How to define parameters/constants in Apache .htaccess files

I don’t have access to the Apache server configuration files and can only influence the configuration through .htaccess files. Unfortunately, this rather limits some things one might want to do. For ...
-1
votes
2answers
1k views

Why do searches redirect to “SuddenLink.net”, instead of my default browser search engine? Can I prevent this?

I’m using Chrome, and I’ve set my search engine to Bing. This works the way I expect 99 times out of 100, but occasionally my searches go to search.SuddenLink.net instead. Apparently, it’s legit URL. ...
0
votes
0answers
486 views

Disable Exchange 2013 OWA redirect

I have an Exchange 2013 combined Mailbox/CAS server available in the web; let's assume it's under http(s)://contoso.com/. On that Exchange server, I have the IIS default website (iisstart.htm) ...
1
vote
1answer
36 views

Redirection order [duplicate]

What is the difference between: command > file-name 2>&1 and command 2>&1 > file-name Why does for e.g (asumming there is no xxx file). ls xxx > 1.txt 2>&1 works while ls ...
0
votes
1answer
102 views

Windows TCP redirection

On my Windows PC (192.168.1.123) , I have an application that connects to 1.2.3.4 on port 3333 by default, I would like to redirect the traffic to 127.0.0.1 port 2222. Under Linux, this can be ...
1
vote
1answer
467 views

apache redirect HTTPS to HTTP

I'm using this htaccess code to redirect my https terrafic to http when we using this simple code to do this redirect,every things fine but it break sites search engine link.the site have visitor from ...
0
votes
0answers
85 views

Route specific URL HTTP requests to different URL's on Linux

So you can use the hosts file to redirect hostnames to specific IPs, but what if I want to redirect a specific URL, lets say http://website.com/assets/somescript.js, to a different URL, for example, ...
0
votes
0answers
45 views

Is the heredoc syntax “<<END” logically built on “<” (the input redirect operator)?

There are various idioms in shell scripting or any programming language that we just don't question. But given the ingenuity of Doug McIllroy I wonder if there is a deeper reason that < and <&...
0
votes
1answer
299 views

Finding out what redirects me to a scary URL

In Internet Explorer 11.0.9600, the website http://gus-ev.de/ (I don't want to make it a link for security reasons) redirects me to http://www.freenom.link/de/index.html?lang=de. It does not happen in ...
0
votes
1answer
113 views

Source of “Open in New Tab”

I have a tab open and I want to know the source of this tab as I opened this tab from another tab by clicking Open Link in New Tab on a link. It's especially happening and useful when reading ...
0
votes
1answer
2k views

Gitlab Nginx - Setting redirect http to https makes requests timeout

So, i just installed gitlab on my server. I'm running the bundled nginx on port 256, and i've set up https using let's ecnrypt. There's still a small problem, you can access it through a normal http ...
0
votes
1answer
185 views

firefox: link URL displayed in status bar is not the one used when clicking

In firefox (several versions, but always with classic theme restorer) I get the URL of a link shown at the bottom (status bar) whenever I hover over a link. I had always assumed that this is also the ...
0
votes
1answer
75 views

Forward custom domain email to Gmail and the other way round

I'm aware there have been multiple question asked on SX about this (e.g. https://webmasters.stackexchange.com/questions/50808/how-to-forward-emails-to-my-custom-domain-to-my-gmail-account), and I know ...
0
votes
1answer
103 views

Changing google language

My question is simple: how can I change google language? When I visit www.google.com it writes response code 302 moved and redirect me to www.google.tk. I've changed the language setting in chrome, I ...
1
vote
1answer
162 views

How to assign DNS names to different web server under local network

I have three webservers in my home LAN (domotics, videosurveillance, Synology NAS). Right now, to access them from a remote client, I've set up a Dynamic DNS service and set the router (an Asus AC68U) ...
0
votes
0answers
333 views

Apache Redirect with keeping URL in the addressbar. (no images loading)

I need some help with my apache configuration. I want a redirect from the domain example.com/test/ to subdomain.example.com/, with keeping the URL in the adressbar. So when I type my www.example.com/...
4
votes
2answers
22k views

How do I force Chrome to load a fresh copy of a page?

I am developing a new website, and I originally had a Url redirect on the domain that took users to an existing site in order to avoid a parked domain notice showing up. When it came to put the first ...
1
vote
1answer
3k views

How to get rid of viruses, which redirect you to gocloudly/goac on OS X and maxonclick/ on iOS?

I faced with a problem which now annoys me very hard. During the last few days from time to time I was redirected visiting my ordinary list of websites. Googling didn't help too much, because whether ...
27
votes
3answers
2k views

Save the output of command in file MS-DOS 1.x

It seems that [COMMAND]>[FILE] does not work in the early versions of MS-DOS. I am using MS-DOS 1.25 and the above expression gives the statement invalid argument. Update:Since it is true that it ...
3
votes
2answers
570 views

Recursive downloads following redirects

My goals: I want to download all *.zip files on a page where all relevant links are redirects done by a server script ( */download.php?standard=yes&file=*.zip ). I want the original link to be ...
1
vote
0answers
427 views

Why can't the gateway redirect back with iptables DNAT?

UPDATE: This happened when using docker containers inside the network. I'm not sure that matters, but it might be affecting the topology somehow... I'm struggling to understand a behavior I can't ...
0
votes
1answer
505 views

How to redirect wget output into another file (Only the response code/error )

Please help me on writing(redirecting) the wget output on a file(i just wanted the status or below lines on /tmp/logfile.log). Please find my output $ wget --no-check-certificate -nv --spider --...
0
votes
0answers
305 views

How to answer http request redirected to localhost

I am redirecting a request to local host by editing my host file as such : 127.0.0.1 web-sls.tera.gameforge.com Now I understood that the request that was previously sent to web-...
1
vote
2answers
2k views

Chrome redirect to sdsjweb.com

I was redirected to https://nuj.sdsjweb.com/f1?s=cf-0&r= by chrome during browsing today. The page displayed a thank you message. Windows defender is ON and is up-to-date. I scanned the computer ...
0
votes
2answers
2k views

Redirect to original HTTP request (POST) after authentication in Node.js

I have a node.js code that uses passport openId connect strategy for authentication. It redirects back to original URL after authentication, however, if I submit a form with POST while session is ...
11
votes
3answers
1k views

Two Programs having their StdIn and StdOut tied

Suppose I have two programs called ProgramA and ProgramB. I want to run them both simultaneously in the Windows cmd interpreter. But I want the StdOut of ProgramA hooked to the StdIn of ProgramB and ...
0
votes
0answers
59 views

Route traffic of specific domain to different ip?

I am working on a project where my customer wants to redirect traffic going out to, let's say, www.google.com, to a localhost web server on Windows 10. So instead of configuring a dedicated server ...
3
votes
1answer
96 views

Cannot use dot before redirect to file in batch file

I cannot tell why the context of an if would change my ability to run the same code. While this: @SET FILE_MAIL_BODY=mail.body @echo The build FAILED because of a lock on the 'classes' folder (or ...
0
votes
0answers
4k views

Can we redirect an external API call by direct IP address to another IP using wampserver?

I'm developing a PHP web application using wampserver. This application interact with an ERP with a direct IP access. The IP changes depending on local testing and production environnement. I want ...
3
votes
1answer
784 views

How to determine what causes redirecting a page?

I have a link that should get me to LinkedIn portal and automatically add a certificate. The link is created by an Organisation that issues this certificate and they can manage and share these links ...
1
vote
1answer
3k views

CMD command redirection (pipes) in shortcut/link on Windows 7?

I'd like to run a Python 3 script silently on system start using a shortcut/link (.lnk) in Autostart. Python's pythonw.exe will run as windowless process with my script only if piping stdout and ...
0
votes
1answer
204 views

Redirect keyboard input to unfocused program

While one program is focused (a full screen web browser) I want to pass keyboard input to another unfocused program (an ssh terminal) in Raspbian/Pi3.