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
0 answers
8 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 ...
reha's user avatar
  • 1
0 votes
1 answer
46 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 ...
Afff's user avatar
  • 1
0 votes
0 answers
41 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, ...
query-01's user avatar
0 votes
1 answer
26 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 ...
hercules's user avatar
0 votes
1 answer
53 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, ...
Zsar's user avatar
  • 233
0 votes
0 answers
104 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....
Kal800's user avatar
  • 9
0 votes
2 answers
538 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: ...
user1589188's user avatar
0 votes
0 answers
150 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 ...
Sandip Patidar's user avatar
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 ...
tahzibi.jafar's user avatar
0 votes
0 answers
85 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 ...
leeyuiwah's user avatar
  • 793
2 votes
0 answers
742 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 ...
Danny's user avatar
  • 301
2 votes
1 answer
1k 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 ...
Jim Worrall's user avatar
0 votes
1 answer
50 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 ...
JohnHaggerty's user avatar
0 votes
1 answer
23 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, ...
Tommy Gibbons's user avatar
1 vote
0 answers
158 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 ...
trejder's user avatar
  • 11.2k
0 votes
0 answers
262 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 ...
Lukar's user avatar
  • 1
0 votes
1 answer
52 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, ...
Kalamalka Kid's user avatar
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 ...
somo's user avatar
  • 25
0 votes
0 answers
544 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 ...
dom's user avatar
  • 1
0 votes
0 answers
200 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....
Stackerito's user avatar
-1 votes
1 answer
145 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 ?
Gunnar's user avatar
  • 1
1 vote
1 answer
756 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 ...
Paul π's user avatar
  • 216
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 ...
Paul π's user avatar
  • 216
0 votes
0 answers
312 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 ...
AKNite's user avatar
  • 1
0 votes
1 answer
63 views

What is the difference between a web server redirect and a hyperlink?

When dealing with web browsers, both a web server redirect and a hyperlink can have the same destination (on the same web site or on another web site). So, what is the difference between a web server ...
hamza's user avatar
  • 1
0 votes
1 answer
157 views

Browser going to router's webpage when typing in WAN IP

I have purchased a domain name and updated the DNS records to point to my WAN IP address. I am now trying to access this website by typing in my WAN IP (and the domain name) -- this however, is taking ...
SeatbeltHands's user avatar
1 vote
1 answer
432 views

Htaccess remove trash from end of URL using redirect 301

I need to remove "trash" from the end of the URL. I have more than 1000 URLs with this word: "card link" at the end of the URL. The URL before the word "card link" is ...
Adamo Santos's user avatar
0 votes
1 answer
144 views

CMD does not append WSL output

In cmd.exe, I try to append WSL2 output to some file, like this: C:\somepath>echo Some contents> somefile C:\somepath>bash.exe --noprofile --norc -c "echo APPEND">> somefile ...
Michel de Ruiter's user avatar
0 votes
1 answer
499 views

Intercepting all outgoing HTTPS requests from machine and redirecting it

I want to intercept all HTTP requests in that the user is sending and redirect them to my own localhost:5000, where changes will be made to the request, it will send it to the intended server ...
user1744988's user avatar
2 votes
0 answers
311 views

What determines the line width of Windows command processor redirected output?

When redirecting standard output (to a file, via >) of an application launched from the Windows command line, is the line width determined by the application or by Windows? As an example, I created ...
End Anti-Semitic Hate's user avatar
1 vote
1 answer
53 views

How can I capture the most recently executed cli command, !!:p, into a text file?

Creating brash one liners that work as expected take trial and error. Once I get it working, that command is the last in my history, and I can recall it !!:p. This does not work: !!:p >> ...
user658182's user avatar
0 votes
1 answer
110 views

Output to stdout and external txt file

I am trying to redirect the stdout of a particular output to a txt file, however I would still like to view it in the console log tail -f /var/log/kern.log | ./prsfwlog -f elfs/prs_log.elf | \ grep -E ...
Nir's user avatar
  • 1
0 votes
1 answer
35 views

Transferring C: directories to another drive

I've recently been preoccupied in transferring frequently updated directories in C: — this, C:\ProgramData, C:\Temp & C:\Users, to another drive whose physical storage is more adept at being ...
Tempus Nomen's user avatar
0 votes
1 answer
250 views

Folder path (user profiles) issue on Win10

We have user profiles in windows 10 system stored on D: partition. However they are logically stored on D:\UserData, but actual physical path is D:\Users. It means if I type in win explorer D:\...
Marin's user avatar
  • 19
1 vote
0 answers
257 views

httpd on OpenBSD: How to Redirect URLs Ending In '.php'?

I am running an httpd(8) web server on OpenBSD. php-8.1.9 is used to serve php. In /etc/httpd.conf I have the following (example.com is a placeholder for the actual domain): server "example.com&...
Matthew Carlson's user avatar
4 votes
1 answer
8k 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 ...
Bakaburg's user avatar
  • 251
2 votes
1 answer
5k views

Modify 2>&1 so that output goes to a specific file and any errors or other output goes to a log file I can monitor?

I'm reading this post and I don't fully follow the answer. I wondered if I could modify this, what's it called, command redirect? What I would like: Don't hang, use ampersand & to move on to the ...
Doug Fir's user avatar
  • 155
0 votes
1 answer
2k views

Outgoing TCP traffic redirection

I have a program that attempts to communicate with an old server on the 1.1.1.1:5555 (for instance) using TCP. The problem is that I no longer have access to that IP (my new server works on 2.2.2.2:...
veget's user avatar
  • 1
1 vote
1 answer
298 views

How can I add a subnet that redirects to other subnet on Ubuntu?

I'm trying to make a new subnet that redirects the connection that it receives to a specific gateway. I want any request made to 10.1.1.x be redirected to 192.168.1.x So for example if I ping 10.1.1....
Thi a go's user avatar
0 votes
0 answers
74 views

URGENT: How to stop a page reloading too many times in Chrome

Having issues loading a page in Chrome. I can get to a login page on https://login.scottishfalive.co.uk/Home/Index however once I input my details I get an error message, page isn't working ...
DD40's user avatar
  • 1
0 votes
0 answers
276 views

How to redirect a website link of an application to Local Disk

I have a legacy software. It downloads Visual C++ Redistributable from this link vcredist_x86.exe whenever I have to install (In new system or due to OS corrupt whatever). The link is broken now. So ...
Dhay's user avatar
  • 133
0 votes
0 answers
977 views

How to Stream a camera view from another computer on Discord with better performance?

For some issues with the app Discord, my client told me he got another PC to try something. I was able to redirect the video stream to another computer? It's possible without any device to buy, and I ...
FuxT's user avatar
  • 74
0 votes
1 answer
94 views

home networking issue - can't redirect wifi devices to website

First, I am an amateur when it comes to networking/routing. I have an Internet-accessible website on a home computer that I use to test html/javascript/etc. I have a domain name and a static IP from ...
raphael75's user avatar
  • 157
0 votes
0 answers
174 views

Prevent account.activedirectory.windowsazure.com from redirecting to microsoftonline.com?

For reasons related to a project I'm working on, I need to be able to plug in https://account.activedirectory.windowsazure.com into Firefox without it redirecting to https://login.microsoftonline.com (...
123MilitaryNerd's user avatar
1 vote
1 answer
2k views

PowerShell on Windows: Start-Process fails if output redirection arguments are used

Why does Start-Process fail to find the executable (not in the path) if -RedirectStandardOutput or -RedirectStandardError are specified? I.e. [X:\] Start-Process -FilePath "prog.exe" -...
huoneusto's user avatar
  • 241
1 vote
1 answer
719 views

xvfb-run redirects STDOUT and STDERR to STDOUT only

I'm trying to run an application via xvfb-run. I need to access this application's STDOUT stream independently from STDERR. Normally, I'd do something like this: node script.js > output.txt I ...
Brad's user avatar
  • 6,132
0 votes
1 answer
435 views

How is this Windows program ignoring my output redirection?

This program Lunar IPS (which create binary patch files) is seemingly ignoring my redirection to null. I'm invoking: "Lunar IPS" -CreateIPS output.ips input1.txt input2.txt > nul 2>&...
P.JBoy's user avatar
  • 3
1 vote
0 answers
405 views

Clear cached URL redirects from Safari and Firefox

I have a NodeJS server and set up a redirect for https://emocoes.org/ukraine to https://emocoes.org/ucrania. The redirects seem set up correctly: $ wget https://emocoes.org/ukraine 2>&1 | grep ...
miguelmorin's user avatar
  • 2,047
0 votes
0 answers
213 views

Forced Bing redirect

I use Google Chrome on my work computer and my personal one. Like a month ago I started to notice a weird behaviour, when I was using google to search something. If i changed the search criteria ...
Kristóf Horváth's user avatar
1 vote
1 answer
1k 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 ...
zupazt3's user avatar
  • 161

1
2 3 4 5
15