Questions tagged [redirection]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Redirect issue in my website

Whenever I enter into my personal website when I first click onto any link it redirect me to random websites (ad related). This happened in chrome and edge but not in internet explorer and not on ...
0
votes
1answer
21 views

How to do redirection for a website in DNS

I have a requirement to configure redirection of a website Both are a secure website Old URL www.abc.com New URL www.123.com Whichever request comes in for new website --> www.123.com should be ...
0
votes
0answers
21 views

Unavailable websites return weird path instead of normal path “http://www.xn--”nameofwebsitehere"-zsd.com/

Whenever I type any website badly on purpose, for example if I write in any browser www.youareadamnfool.com I get the following http://www.xn--youareadamnfool-zsd.com/ in the url bar (so it actually ...
0
votes
0answers
20 views

error info : input file is output file

Redirect all stdout into a file. exec 1> /tmp/stdout All info shown on stdout (screen) previously will write into /tmp/stdout. pwd #No info shown on screen I want to read info on /tmp/stdout. ...
0
votes
0answers
5 views

Determining available IP addresses from a list [migrated]

So I'm coding in C for a list of IP addresses, listed one above the other in a .txt file, which should be read, and simultaneously pinging them one by one. Now, my main concern is to select which ones ...
1
vote
1answer
7 views

.htaccess RewriteRule works but Redirect 301 does not

I have launched a new version of a website on a new domain. On the old domain I have redirected traffic to the new domain with a global RewriteRule. RewriteRule (.*)$ https://www.newsite.com/$1 [R=...
0
votes
1answer
48 views

Display inputs that are redirected from file

I have a Linux program that gives the user a prompt, takes a one line input from stdin, performs an action, and then returns to the prompt to repeat (unless the action is "exit"). I would like to ...
0
votes
0answers
15 views

Redirect traffic through VPN

whole day I am trying to make all traffic redirection through VPN work, but unfortunelly it still doesn't work perfecly. My setup: VPN server running on my router (OpenVPN), it has public IP ("...
0
votes
0answers
18 views

redirecting http requests from a specific client

I have a nonstandard device whose browser is hard-wired to the manufacturer's home page. I wish to redirect its http request to an internal LAN site (http://10.10.10.16). I can achieve that by adding ...
0
votes
0answers
16 views

assign a DNS resolver to one specific client

I have a device whose browser is hard-wired to the manufacturer's home page. Using the DNS server (Windows Server 2016) I can "spoof" it and redirect it to an internal web server. This is not ideal ...
0
votes
0answers
11 views

Firefox no longer resends POST data on refresh

When you've just sent a form then refresh, if you haven't used the Post/Redirect/Get pattern, Firefox will ask you if you want to resend your form data. If you click Resend, the page would normally ...
0
votes
0answers
9 views

redirect only subdomain to domain, but not files, also deny php file access (.htaccess)

RewriteEngine On RewriteCond %{HTTP_HOST} ^cdn\.swat\.host$ [NC] RewriteRule ^ https://swat.host [L,R] I tried this ^ But it will redirect anything after / too. Also I would like to deny php ...
0
votes
1answer
81 views

Parse lines written to standard out in “real time”

First, I having only been learning Powershell for about a week primarily adapting Linux scripts to run on my (more powerful) Windows machine. So, please be kind with the lingo. I am trying to write a ...
0
votes
0answers
36 views

Redirect stdout to two commands

I want to unzip several large compressed CSV files (~50Gb each), split each one to smaller chunks and then print the header of each file to stdout/terminal while avoiding reading the large file more ...
0
votes
0answers
18 views

Fish: Pipe into process substitution

In Bash, you can do the following to send a process's output to another process's STDIN while printing it to console. echo 'Hello, world!' | tee >($command) What is the equivalent in Fish?
0
votes
0answers
17 views

Redirect/divert selected URL-based traffic to local Internet in Windows10

I did all my best to select this query site of SE network as best option, hope so. Having done a research on "divert/redirect" keywords was not of little success, also googling, so here I go. I'm ...
0
votes
0answers
7 views

trouble with publishing new post in wordpress (redirect incorrect)

I have a news wordpress website with 1 GB DB. Sometimes when I want to publish a new post, After "publish" it will redirect to 404 (or 301 with a plugin). After checking all post, I see original post ...
0
votes
1answer
27 views

How to catch this range of IP addresses with a netmask?

I have an OpenWRT router and a Pi-hole install within the network. I am aware that some devices may ignore the DNS provided by DHCP and use hardcoded ones, so I want to redirect DNS from all non-...
0
votes
1answer
36 views

Can't ping a URL, but seeing that URL in Chrome Network Request Logs

I am trying to ping alb.reddit.com, but for some reason I get a request timed out response. However, I am seeing chrome logs for those requests, and they are returning 200. Based off my analysis, ...
0
votes
1answer
78 views

Cygwin SSH port redirection

What happen when I do an SSH port redirection trough Cygwin SSH ? I mean, does Cygwin has the power to redirect a port in Windows, without administrator rights ? Or do he effectively redirect ports ...
0
votes
2answers
55 views

When we enter bit.ly on url box how bitly.com open

I have a question about how bitly.com to bit.ly work. My questions is not about shorting url from a long url to short one. Like the service Bitly provide. Suppose I have website with the domain name ...
1
vote
1answer
65 views

Wrong https redirection with two websites on the same server

I have two websites, call them example-1.com and example-2.com deployed on the same server (CentOS 7.5) both served by apache at port 80. The redirection is performed with Virtual hosts (see below for ...
0
votes
0answers
44 views

How to redirect a url to a git repository?

I would like to embed a url in a bash script that tells my users where to download the necessary dependencies from my GitHub. However, I would prefer to display a url that originates from my own ...
2
votes
1answer
608 views

Helm chart nginx-ingress controller TCP redirect http to https

My environment is hosted in AWS. I had deployed the helm chart stable/nginx-ingress in TCP mode (I need an AWS ELB in TCP mode for WebSocket. I need exactly ELB classic!), also I need to use AWS ACM ...
0
votes
1answer
802 views

What is the << EOF equivalent in powershell

What is the powershell equivalent to the Linux command: tee file.txt <<EOF Where the terminal <input> would be something like: blah blah <\n> beh ble <\n> EOF Let's say ...
0
votes
2answers
182 views

Mac OSX: How to forward all outgoing traffic to specific host/port to different host/port?

I've been searching high and low for days and I'm 100% stuck with PF. Essentially I want to take all of my local, outbound traffic to ip/port redirect it to a different ip/port. local application ...
0
votes
3answers
1k views

How to change location of `My Documents` folder on Windows 10 when `Location` tab is not present?

How to change location of My Documents folder on Windows 10 when Location tab is not present in Dialog Box displayed after having clicked Properties contextual menu linked to My Documents folder as ...
1
vote
1answer
47 views

Redirect Streams

I am trying to redirect the results of rg to comm to compare the match intersection. Fish seems to think that I will be passing a file path and and not the stream. > comm -12 <(rg -l "\\bar\\b" ...
3
votes
2answers
164 views

redirect echo in a cmd batch file to a variable fail

I use the below function to check if echo is set on or off, and as you can see it pipes echo statuse and then uses the output to set a flag: FUNCTION :echos echo > echo.txt & rem pipe ech ...
-1
votes
1answer
40 views

URL redirect and weird domain name which works

So there is an URL like example.example.com which when I visit it redirects to 10.10.0.5/folder/index.pl How does that work? I thought redirects work to only non-private IPs. Also, my TeamSpeak ...
0
votes
0answers
165 views

Microsoft RDP USB Redirection for Apple iOS devices

I've been working on project involving USB Redirection with an iPhone. So here's the issue... RDP is working, i can forward the Apple Device driver via Win 10 USB Redirection (and have made all the ...
0
votes
0answers
24 views

Traffic Redirect Windows

Need help to solve a little problem that i have. I have a little server where i have multiple ports listening, 81, 82, etc. Last week in my company all http traffic that doesn't go to the 80/443 port, ...
1
vote
1answer
63 views

How to change the domain of URL without changing query parameters using Requestly?

My first use case would be to change the domain of a URL without changing the rest of the parameters using Requestly. Specifically change from https://web.whatsapp.com/send?phone=123&text=Hi ...
0
votes
0answers
112 views

Windows Native RemoteApp (Windows 10) - Multiple feeds with different credentials

My question is about how to create multiple feeds in the native Windows 10 RemoteApp. It's possible to add more than one feed but it seems you cannot store multiple credentials. Scenario - We ...
0
votes
0answers
29 views

Docker Service causes an issue that the host nginx doesn't work redirect http to https

For example I've the domain www.example.com. I forced the redirection from http to https using nginx to prevent MITM(man in the middle attack). My configuration for nginx of the host is like the ...
0
votes
1answer
16 views

Somehow broke my Apache2 vhost.conf file, now all sites being redirected to one

Recently elected to merge all my websites onto a single server. I previously had them split between two machines, with each machine successfully supporting multiple domains. After merging their ...
1
vote
0answers
22 views

My python script runs indefinitely in the background only if i redirect the output to a file, why is this?

So I have a python script which is programmed to run indefinitely. It prints a small string initially, but then just runs pretty much silently. I found that it runs about a day if I initiate it like ...
0
votes
1answer
42 views

Redirect from http to https not working

I installed certbot on my debian to install lets encrypt certificate to apache2. Everything worked like a charm, and I selected the software option to redirect http traffic to https. The software ...
1
vote
1answer
159 views

Why does neverssl.com redirects you to a random subdomain?

I was reading this fascinating answer and was puzzled by the fact that every time I entered the neverssl.com webpage it redirects me to a seemingly random subdomain. For example, the landing page is ...
1
vote
1answer
54 views

Redirect website url to a different url of that website (hosts)

I am unsure if this is possible. I am trying to use the Window's hosts file to redirect the address www.youtube.com to music.youtube.com. When I ping youtube.com, I am returned with this IP: 172....
0
votes
2answers
74 views

AWS Cloned EC2 Instance Rerouting to Original Instance

I have an EC2 instance running OpenEMR Cloud Express 5.0.1 attached to an Elastic IP address and with a domain name associated with it. I recently cloned the instance using Action -> Create Image, ...
0
votes
0answers
35 views

Block fake users & fake ip addresses from using application

I am facing some issues when it comes to application's traffic & its users. The point is that users tend to sign-up/register on my SaaS application. They use(mostly for wrong purposes) the product ...
0
votes
0answers
18 views

Nginx : “domain/shop/” returns 502 but “domain/shop” runs fine

Is there some Nginx configuration affecting the redirection so that shop/ returns 502 whereas shop works out fine. Also when I hit "shop/" I am not immediately able to see it in access logs and then ...
1
vote
0answers
18 views

nginx issue with redirecting styles

I want to configure my home network to do everything through my raspberry pi. My router is 192.168.1.1, and the pi is 192.168.1.2. They are static IPs. I have nginx running on the pi, and I'm using ...
2
votes
1answer
743 views

Output redirection fails when using Start-Process to launch CMD with START /B

This is my test.ps1: Start-Process -FilePath 'CMD.EXE' -NoNewWindow -ArgumentList '/C START /B PING.EXE google.com -t > logfile.txt 2>&1' echo "Finished." The test is an infinite ping to ...
0
votes
0answers
22 views

My website subdomain redirects to the main domain, how to prevent this?

I have a website subdomain created, and when in a browser I type the subdomain address, it gets automatically redirected to the main domain. Only when I add index.html to the URL, the subdomain text ...
0
votes
0answers
31 views

redirect a link to a subdomain in htaccess with regex

I Want To Redirect a Link To a Subdomain Link Like As Bellow: sample.com/seminar/details/3 to old.sample.com/seminar/details/3 What Should I Type In Htaccess File In Cpanel For Redirection? I ...
0
votes
1answer
254 views

Page isn't working - too many redirects

I am trying to access a particular website (www.mixcloud.com). On my laptop, for some reason I get an error: This page isn’t working www.mixcloud.com redirected you too many times. Try ...
0
votes
0answers
6 views

redirect logs without capturing the interactive prompt

I launch a command which prints many messages (errors, warnings, etc.) before dropping me into an interactive command prompt: $ verbose_tool launching foo (error) blabla (warning) blablabla ...lots ...
1
vote
1answer
82 views

How to implement “Does not Contain” or Negative Filter in Requestly

I am using Requestly Chrome & Firefox extension to setup Redirects. I have a use case in which I want to switch the host from say - www.a.com to www.b.com except when www.a.com has a specific path ...

1
2 3 4 5
14