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
3answers
6k views

How to create domain “alias” for entire url?

I have set up a DNS server for local use in a LAN. This server can resolve IP addresses, so when I ping mypc.company I get a successful reply from the IP address 192.168.1.34. Problem I have ...
0
votes
0answers
309 views

Private browsing HTTPS page is redirected to HTTP

I am using Firefox 46.0.1. When I go to https://chriszarate.github.io/supergenpass/mobile/, everything behaves as I would expect. When I visit the same URL in a private tab, I am redirected to http:/...
0
votes
0answers
169 views

How to redirect in HTACCESS using URL id number range

I want redirect a range of content IDs to a subdomain. For example: From id = 1 to 500 I want redirect to a subdomain oldcontent.example.com From id = 501 to 1000 I want redirect to a subdomain ...
1
vote
1answer
224 views

Google is automatically redirecting to unknown websites [closed]

As in the title I said when I click on a website after the loading of the website it redirects me to another site. Can someone help me?
0
votes
2answers
3k views

Bypass “302 Found” ISP redirecton

I was goofing around with a usb broadband modem(sim card modem) I used a sim card with no current subscribed data plan.On opening google.com I was redirected to the "Buy A data plan Page"(Page to buy ...
5
votes
2answers
50k views

Redirect USB Device To Virtual Machine Using Hyper-V As Host

So I have a machine that is running Hyper-V Server 2012R2 as the host (bare-metal hypervisor). I have a USB device that is attached to this machine and I need a virtual machine that is running on the ...
0
votes
0answers
47 views

how can I redirect traffic to Linux

How can I redirect my router traffic to my Linux operating system, I have tried Google but nothing came up. I have tried a lot of iptables commands and Google
0
votes
1answer
219 views

Stuck at the Welcome Screen, is it possible to stop a Windows login?

Is it possible to stop a Windows 7 login when you're stuck at the welcome screen due to a large file in a profile?
2
votes
2answers
209 views

Why is carriage return badly handled in redirections?

Let's have the following code (here in python): print("something\r any") When running it in a console, this correctly produce: anything (after printing something, the caret returns back to the ...
0
votes
1answer
414 views

ConEmu: how to redirect output of spawned application

I successfully use ConEmu to start different instances of a command line application MYAPP in different tabs. E.g. by predefined task cmd /k MYAPP Tab1 -new_console:t:MyAppTitle ... To monitor ...
-1
votes
1answer
37 views

How can I hard link a folder to a different place per-user?

I have a particular piece of software which likes to store files in a subdirectory of its install folder. I believe that if this software were installed in, say, C:\Program Files, that folder ...
1
vote
1answer
411 views

Powershell redirect to variable value containing colon

Is there a way to use a variable whose value contains the colon character as a filename string in a command-line redirect? Powershell always treats the colon as a drive separator, regardless of escape ...
1
vote
0answers
33 views

Parsing (or Converting) Buffered Output

If a dynamic, text-based, CLI application doesn't include an option for producing unbuffered text output; what options do I have for parsing said output? Can it be converted to a more appropriate ...
2
votes
0answers
630 views

Set default connection for internet connectivity - ubuntu

I have two connections on my computer: sudo route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 ...
1
vote
1answer
986 views

Redirect STDERR and STDOUT to file with timestamp on each line

On my CentOS I am trying to execute a php script that contains an endless loop to do some fancy stuff inside. It doesn't matter that an endless loop may not be an accurate solution for most cases, but ...
0
votes
1answer
127 views

Some htaccess 301 redirects not matching the right rule

I am trying to redirect some links from an old WordPress website to the new one. My .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^press-release-mcp-and-tmr-...
2
votes
0answers
1k views

Firefox redirects localhost to the current IP of the network adapter

I have a really strange problem. If I try to access an locally running web application via localhost then my Firefox redirects me to the IP of my network adapter an removes the given port. In Internet ...
1
vote
1answer
476 views

Browsers seems to ignore the hosts file while ping works?

I am trying to make xyz.com always map to google.com (216.58.219.206) on my machine (OS X El Capitan). Made the following changes to the /etc/hosts file: 216.58.219.206 xyz.com I've cleared the ...
1
vote
1answer
3k views

Make google.com my default search engine

I am really upset by the fact that when I enter something in address bar the google redirects me to google.bg ".bg" is Bulgaria domain extension. What I want is my chrome language to be English and ...
0
votes
1answer
2k views

Iptables: why my redirection doesn't work?

Linux slackware,i have put ftp server with unprivileged user running port 2121. Want to redirect all packets from 21 to 2121 so my ftp is avaliable as standard without specify the port. telnet host ...
1
vote
1answer
79 views

Grep result of command, redirection vs pipe

Can someone explain why the two commands below give different results? The first pipes the output of who to grep, the second takes the output of who as a redirection. ~: who |grep $(tty|cut -c 6-) ...
0
votes
0answers
548 views

Can't access IIS website inside a VM via HTTPS

I'm running Win10 through Parallels and trying to access a website in IIS from a browser outside the VM. I've added an entry to my hosts file which maps the VM's IP address to "windows", and I can ...
5
votes
4answers
14k views

Redirecting command output in docker

I want to do some simple logging for my server which is a small Flask app running in a Docker container. Here is the Dockerfile # Dockerfile FROM dreen/flask MAINTAINER dreen WORKDIR /srv # Get ...
0
votes
3answers
88 views

Why does www.example.com differ from example.com?

I tried redirecting in the "head" section, but what I got was a flickering screen. I wish to have the www.redirect to the "clean" URL. How do I do so without the flickering (which I take is ...
1
vote
1answer
151 views

Need to displace serial port across machines Linux and Windows

I have an app running on Linux (Ubuntu) that wants hardware attached to a serial port. I want that hardware on a Windows machine (XP SP3) elsewhere on my LAN. So, I need a serial port server on the ...
5
votes
0answers
6k views

How to prevent url redirects in chrome

When I type in a url and hit enter, for example abc.com, I don't expect to end up somewhere else. I expect an error page if there isn't a site with that url. But instead I get redirected to another ...
1
vote
1answer
548 views

Redirecting the users on the network to a default page. (Wireless Router)

I have a cable modem connected to wireless router (Asus RT-N10 D1) that lets me and my neighbor connect to the Internet. We agreed to share the cost of Internet together since the Internet is ...
0
votes
2answers
104 views

Redirect browser to a different website when you visit a certain website?

I am having this problem with yahoo mail. When I log out of my email, it takes me to yahoo.com homepage instead of the yahoo login website. What I want to do is that when the yahoo.com website is ...
0
votes
1answer
133 views

Multiple redirects on lighttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> ...
0
votes
2answers
578 views

How to redirect every request from user to local host

My question is how to trap traffic going to 202.20.20.20 (The website IP/any dynamic input of website) and redirect to 192.168.1.10
0
votes
2answers
916 views

Why can't I redirect output from awk?

I've written this one liner to show MB read/written every 5 seconds. #!/bin/bash #iosum.sh iostat -dmz 5 |\ awk 'BEGIN{rx=wx=0}{if($0 == ""){printf"%.1f %.1f\n",rx,wx}else if($0~/^Device:/){rx=wx=...
0
votes
1answer
669 views

How can I redirect a subdomain without needing to use a port, on a home server?

Current setup at home: Router OS - openWRT Router remote access - port 80 Server OS - Arch Linux Web server - nginx Server web server access - port 81 (port redirection done in router) Modem IP ...
0
votes
0answers
58 views

Firefox Redirects on google.com, google.ca Unless Firebug is Open

On my mom's laptop, after entering google.ca or google.com, Firefox brings up her university's login page (not a fake. Has signed certificates and URL is legitimate) instead. She's at home, and not at ...
-1
votes
1answer
281 views

How do I redirect the first request from devices on my local network to a specified page?

How would I go about redirecting the first request from devices on my local network to a page I have set up? I've heard of VPNs, proxies, and DNS servers, but I don't know which work / is the best ...
0
votes
2answers
102 views

Serious Malware issue about “Browser Link Redirection” and “Malicious Links on Site”

So, for some time, I have been noticing the constant "redirections" to seemigly malicious/Adware sites. For example, while Googling something, I pick a result from the Search page and when opening in ...
1
vote
0answers
344 views

No Country Redirect + Predictive search ( search suggestions) in Chrome omnibox

As I can see predictive search works well with default google search engine. As described here, I change search engine to NCR mode: http://www.google.com/search?{google:RLZ}{google:...
0
votes
3answers
9k views

Exchange 2013 Blocking redirect of OOF messages to external

on the Exchange 2013-cluster I have a problem with redirect of OOF messages. Users who redirect all incoming emails to an external address per inboxrule, get all email in the targetmailbox except OOF ...
1
vote
0answers
592 views

Web browser extensions for Chrome & Opera that bypass redirect links in Google Search? [closed]

Similar question & answer for Safari. https://apple.stackexchange.com/questions/23359/safari-extension-to-get-rid-of-google-redirect-links-in-search-results Rewrite the google search results ...
1
vote
1answer
465 views

How to redirect away from Facebook's homepage?

When I check Facebook, automatically I land on the News Feed which has a lot of information I would rather never have to see. Thus, I want to redirect the homepage to my profile page. I have installed ...
0
votes
0answers
102 views

Redirection not working for the first time

There are output of curl command. Sometimes my site doesn’t redirect properly, showing error page: no data received from the server. Is there any way to remove this error? C:\Users\sumit>...
0
votes
1answer
53 views

How do you redirect to a page on a certain browser? [closed]

To elaborate: I need a way to redirect to a different page for google chrome, safari, firefox, etc. as in (example only): you go into google.com on safari, then you get redirected to a page where it ...
1
vote
0answers
226 views

Implement URL Redirection in Webserver

My Application Webserver is Oracle Iplanet 7.0. I trying to implement URL redirection for my application, with the below URLS when used in browser Redirection from https://testsite.com to https://...
0
votes
2answers
679 views

How to reroute an external DNS address to internal address, ONLY when on a local network?

So I own my own personal server for files/media etc. I currently have my computer set up to do some syncing with my server, but there’s one problem. When I’m on my home network, I have to use an ...
0
votes
0answers
80 views

Bourne shell: how to add prefix string to stderr message?

I'm running a script on a Bourne shell, eg not bash (actually the sh from BusyBox 1.23.2). As asked & answered in this question, I'd like to "catch" error messages issued by commands within my ...
1
vote
2answers
489 views

How to block website visitors from accessing image files?

SCENARIO I am hosting a website on an Apache server, where the images are saved on an img folder. I have already solved the issue of users accessing folders they are not intended to, placing some ...
0
votes
1answer
1k views

Redirect all subdomains, subpages, and the root domain to themselves on another domain

I have done a lot of searching and have tried many things but I have still not managed to find a way of doing this exactly how I want it. Without having to make an Apache VirtualHost for each ...
0
votes
1answer
11k views

Setting a URL to go to Localhost folder on XAMPP server

I have a local XAMPP server. How can I make the domain arch.elm redirect to the localhost/archelm location? This only needs to happen on the server PC, as that's the only PC I use. I am using Windows ...
1
vote
0answers
220 views

Stop Chrome from redirecting Pardot form

I am using a Pardot form where you submit your email and get redirected to a new page with all the download links. Right now, if I try to press "back" to go the the main page with all the forms, ...
2
votes
2answers
133 views

Resumable Downloads corruption due to ISP redirection

I have a Bsnl bradband connection in India. Whenever I turn on router and open any link the first time, it gets redirected to mail.bsnl.in page. That could be a way of promoting their email service. ...
1
vote
1answer
946 views

SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

I am running a PHP script on a RedHat server using Teradatas ODBC drivers. <?php $conn = odbc_connect("Teradata", "username", "password"); $result = odbc_exec($conn, 'SELECT count(*) FROM table');...