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
3 answers
18k 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 ...
2 votes
1 answer
3k views

Outlook 365 inbox rule to redirect emails not working as expected

I am experiencing a problem with Outlook 365. Please read/follow the following steps to replicate the problem: Create a regular user account ([email protected]) Create a shared user account (beta@...
2 votes
2 answers
277 views

PowerShell redirection of Write-Host to file is not working

Can someone explain me that behaviour? What is wrong? PS C:\Scripts\Customer_Shares_Permissions> $PSVersionTable Name Value ---- ----- ...
0 votes
2 answers
4k views

Pass through OpenVPN only connections to specific destinations?

I want to connect to various streaming sites from outside US. So I using one of OpenVPN provider to do so. Default config file from provider redirects through OpenVPN all traffic. I want to change ...
0 votes
0 answers
26 views

I can't install llama-index on kaggle. It seems i don't have connexion but i do

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at ...
0 votes
2 answers
793 views

Why Outlook cannot redirect some emails via rule but ok via forwarding?

I bumped into this weird situation - one outlook and one hotmail accounts, want to redirect incoming emails for hotmail account to outlook account, so I have tried these two options individually: ...
0 votes
1 answer
52 views

Powershell, file.exe --help output not redirectable

I'm attempting to redirect the output of the help message from a binary to an output.txt file, but the help message isn't being redirected as expected. I've tried several different solutions, but none ...
491 votes
20 answers
386k views

How can I make Chrome stop caching redirects?

I am working on a web application that is using redirects (for pretty URLs). I am trying to debug logic in the way the redirects are working. However Google Chrome keeps remembering the redirects and ...
5 votes
2 answers
6k views

Redirect all HTTP traffic to HTTPS including subdomains

I'm trying to redirect all HTTP traffic to HTTPS including subdomains. I have the domain setup with FastComet on their Shared Hosting using cPanel. Some examples of how I like to redirect. http://www....
0 votes
0 answers
43 views

Batch file output redirection to a text file; not complete

Examples: Parent-Dir= 'USA zip-code', Sub-dir(s)= 'yyyymmdd' Example filename= 139_7_IPC1_NVR16-8580_20230101104640.jpg There are six-hundred and ninety-nine files in the directory-tree that the, ...
6 votes
1 answer
5k 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
1 answer
27 views

Bash Script: How to redirect output of $? value to variable when previous command is executed successfully

#! /bin/bash # test.bash is trying to redirect output of $? which can be either 0 or non zero to variable. But following script gives only blank output to flag variable. Can you assist how to ...
0 votes
1 answer
75 views

How to make bash script output compatible with both terminal and file?

In bash, if I want to produce periodical status messages, I can replace the previous one by emitting a hotkey combination, e.g. as seen here, here or here. When a user executes the script directly, ...
0 votes
0 answers
123 views

FTP Port redirect using OpenWrt router and windows clients

I'm having problems with FTP port redirection. I have OpenWrt device having two ethernet interfaces. The first one is in 192.168.1.0/24 network and there is another device with FTP server under 192....
2 votes
2 answers
443 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 ...
8 votes
2 answers
1k views

Prevent/Block slacks default redirect to native app

Whenever I open slack links in my browser, by default, slack redirects the link to open in the native app. I DO NOT WANT THIS. My use case is: Slack link shared in a thread, or manually copied by ...
1 vote
2 answers
6k views

error in script (bash): ambiguous redirect

I'm rewriting a simple script, CopyScript.sh, I wrote a few years ago to copy contents from my NAS to a USB disk. #!/bin/bash SYNCPATH="/volume1/" SYNCPATHTO="/volumeUSB1/usbshare/synology-may-2015-...
72 votes
5 answers
169k views

Remotely run script on Unix, get output locally?

I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would ...
0 votes
1 answer
5k views

How to redirect a domain to WordPress subdirectory on GoDaddy with cPanel?

I am using WordPress to create a website for an author friend. The website is www.essex-history.com with wordpress installed at www.essex-history.com/wordpress If I set up 301 redirection of the (...
3 votes
2 answers
458 views

How can I tell my dd-wrt router to use someone's Amazon Affiliates link when I point my browser to amazon.com?

Here's what I'd like to do. Instead of a one-time donation to one of my favorite free tools (junecloud.com) I'd like to do what they suggest here and use their Amazon Affiliates link to do all my ...
0 votes
0 answers
185 views

How USB redirection works on Remote Machine using RDP ( RemoteFX)

I am a newbie in Remote/cloud technology. I would appreciate your guide. I want to use a USB Device on a Remote virtual machine (Windows 10 Enterprise Edition) plugged into my local Windows 10 ...
7 votes
2 answers
30k views

redirect output from dd command to /dev/null

How to redirect output from dd command to /dev/null?
0 votes
0 answers
21 views

Linux redirection and piping [duplicate]

I am working on Ubuntu 22.04.2 LTS. I a directory, I have only 2 files a1.txt a2.txt when I run the ls a* z* 2> /dev/null | cat I got the result , that is OK. I mean that error was not shown. But ...
6 votes
1 answer
16k views

Chrome redirecting http -> https

I have two instances of chrome running (two different user profiles), in the same machine. In one, typing http://localhost:8000 redirects to https://localhost:8000. In the other instance, the ...
20 votes
6 answers
53k views

Chrome persistently redirecting to HTTPS for HTTP site

I'm building a site to replace an older site. The newer site currently is NOT HTTPS. However, the old site is HTTPS. I'm switching between the two sites by toggling an entry in my 'hosts' file. I ...
3 votes
3 answers
1k views

cat-ing non-empty file to itself makes it empty. Why?

Can you please explain me why: cat < file.txt > file.txt makes file.txt empty? This is observed in Bash in Linux.
0 votes
0 answers
90 views

Strange redirection to a different website on my chrome browser

I have been using a certain website (AirTable.com) on a regular basis. Yesterday I noticed that my chrome browser refused to go to the website (error was certificate not valid). Upon inspection, I ...
2 votes
0 answers
962 views

How to prevent a website from redirecting to other websites?

One forum I frequent is running ads that sometimes redirects the users to questionable websites. The ads inject a script that uses window.location.href to change the URL of the current page. I've ...
0 votes
2 answers
1k views

Weird output when redirecting bash prompt to a file

I redirected standard error of bash command to a file and bash prompt got redirected. But when i print the content of file, it was empty. Where did the bash prompt go? and again when i redirect ...
1 vote
0 answers
170 views

Firefox stuck on .htaccess redirect?

For the testing purposes I have put a .htaccess file in my local webserver to force the following redirect: http://localhost/a-s/ → https://www.test-website.com/ After tests I have purged everything ...
0 votes
1 answer
4k views

dnsmasq redirect domain to another

what i'm trying to do is redirect domain to another domain for example when i type www.google.com redirect to www.facebook.com but main idea is to keep the url the same that means http://www.google....
14 votes
8 answers
66k 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 ...
2 votes
1 answer
2k views

zsh: stdout and stderr both to console AND log

I'm converting a script from bash to zsh and have been floundering for days with the output. I want the stdout and stderr to both go to both the console and a log file. I've tried everything I can ...
0 votes
1 answer
56 views

user write debug data to root owned file

I'm running GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) on a Linux Mint 21.2 Victoria system. I'll be grateful if anyone can explain this for me as I haven't been able to find any ...
0 votes
1 answer
27 views

Cannot read error in console nor via redirect

What I have done: Installed Ubuntu Server 20.04.6LTS to SSD (/sda), extra drives HDD (/sdb). There is an extra HDD (call it /sdc for now) that was RAID1. RAID1: I followed the ideas outlined here, ...
0 votes
0 answers
278 views

Syntax error on line 164 Apache24/conf/httpd.conf Cannot load modules/mod_rewrite.so into server: %1 is not a valid Win32 application

I am trying to run Apache using httpd.exe under command prompt administration privileges, but it pops up with the error message stated above does anyone know a solution? I am expecting a solution to ...
0 votes
1 answer
57 views

Prevent Chrome from opening online help URLs from other apps

As with many applications, pressing F1 often brings up a help menu, sometimes using Google Chrome as a launchpad for help files that are hosted online. I often press F1 by mistake when using 3dsMax, ...
1 vote
1 answer
3k views

How to prevent a web browser from following redirects in a specific website?

I am trying to block myself from using Google Search Console by bringing myself back to Google Search, due to addictive behavior with Google Search Console*. The following JavaScript code works from ...
0 votes
0 answers
581 views

Using iptables-nft/ebtables-nft to intercept specific forwarded/bridged IP packets on a bridge and redirect them to the bridge device itself

With a bridge br0 using eth0 and wlan0 as bridge ports, formerly one could intercept packets arriving on a bridge port with iptables -t mangle -A PREROUTING -m physdev --physdev-in wlan0 --protocol ...
0 votes
0 answers
211 views

New subdomain - how to redirect from old one to new using rewrites?

Inside the organization the internal system websites are given as sub-domains. So now many people have the old link to the home page of one of the websites saved in their favorites - old_domain....
-1 votes
1 answer
164 views

grep output to file does not work - ping www.google.com |grep -v "time=1." >>ping.log

ping www.google.com |grep -v "time=1." >>ping.log Nothing is appended to the logfile, without the redirection the command works fine. What am I doing wrong ?
1 vote
1 answer
863 views

Batch: How to show only errors in console output (ie redirect STDOUT to NUL and STDERR to CON)?

I'm trying to figure out how to show only errors on the console output (and suppress all other output) without redirecting to a file or using TEE, etc. I'm trying to get this to work for single ...
1 vote
2 answers
1k views

batch script - How to conditionally redirect output stream(s)

In summary, the goal is twofold: Create a logfile that only contains commands that have failed, plus the error messages those commands generate. Prevent console output (success or failure), except ...
1 vote
1 answer
2k views

Configure router to redirect URL to custom IP

I have an Asus AX55 router and a simple ESP32-based device running a web server and connected by WiFi to the router. I made the router to assign it a fixed IP of 192.168.50.82. Now, I would like to ...
0 votes
0 answers
329 views

Setup router to redirect one IP address to another

I was wondering how I would go about setting up my router to redirect traffic intended for one server (IP address) to a different one. For example, if someone wants goes to www.abcdefg.com, the router ...
89 votes
4 answers
181k views

What does "2>&1" do in command line?

I know that the > sign is used for output redirection in the command line, but I'm having trouble finding something that explains the use of 2>&1 in the command line. For example: curl ...
46 votes
2 answers
62k views

Is there an equivalent to /dev/null in Windows?

If I want to ignore stdout of a command, I do this on *nix: myprog > /dev/null How do I achieve the same on Windows (in cmd or a batch file)?
35 votes
3 answers
30k views

Default PowerShell to emitting UTF-8 instead of UTF-16?

By default, PowerShell in Windows seems to be outputting UTF-16 (e.g., if I do a simple echo hello > hi.txt, then hi.txt ends up in UTF-16). I know that I can force this to my desired text ...
4 votes
1 answer
9k views

All my Chrome searches are redirected through www.getsearchredirecting.com

Since recently (I don't know exactly when it started), all the searches I do on Chrome search bar are redirected through this site www.getsearchredirecting.com. I did a malware scan with two common ...
47 votes
4 answers
88k views

Redirect URLs in Chrome?

Is there any extension to Chrome that will let me force a URL from a particular domain to be redirected to another domain? (E.g. Redirect http://www.google.com to https://encrypted.google.com.) Note:...

1
2 3 4 5
15