Questions tagged [redirection]

The tag has no usage guidance.

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

Can't find the source of my 301 redirect in IIS?

I have a production site www.mysite.com and a development site dev.mysite.com. The two sites are served from different folders and use different IIS configurations. When I browse the beta site, on its ...
0
votes
1answer
45 views

Masking link with a 302 redirect through nginx not working

I'm trying to mask an affiliate link, so I want to have a 302 redirect through nginx I want to redirect all /go links to the respective affiliate link, so all link redirects would be like mydomain.com/...
0
votes
0answers
62 views

Re-direct traffick from several machines to specific device on other machine

I everybody I have a small system with 4 machines and one server. The server has internet regular connection on device eno1. The other device (eno2) is connected to a router with the rest of the ...
-1
votes
1answer
59 views

How to redirect a port and use a subdomain?

I know my problem has already been described (see How do I redirect subdomains to a different port on the same server? for ex) but as I can't make it work on my side, I ask for some help again. I have ...
2
votes
1answer
31 views

Issues with Redirection and HTACCESS

I have two URLs: https://example.com/view?id=1001554 - Old URL https://example.ca/search-item.html?psid=1001554 - New URL As you can see the site changes from .com to .ca and on the new URL there ...
0
votes
0answers
13 views

Disabling clipboard and drive redirection between two non trusting domains, but allowing it while inside the domains

There are 2 Active Directory forests/domains, let's call them A and B, no trust exists among those, the network were completely separate until recently. There is now a link between the 2 networks, to ...
1
vote
0answers
369 views

URL redirection and TCP proxy in haproxy

In a server with only one ipv4 and running haproxy, i want to redirect an url and proxy another in TCP level, for ssl passthrough purpose. frontend https-frontend bind *:443 mode tcp option ...
0
votes
2answers
45 views

NGNIX Redirect with two Parameter

So at the moment this is working for me: if ($request_uri = "/web/news.php?id=69") { rewrite ^ https://www.camper-center.ch/? last; } But now I also have URLs like /web/listing.php?...
2
votes
0answers
32 views

Exim: Redirect mails without spooling

I am running a personal mail server using exim that only forwards mails (and also runs a few mailman mailing lists). Unfortunately, my server’s spam protection is worse than that of the mail provider ...
0
votes
1answer
249 views

Redirect incoming URL request between basic authentication and openidc in apache

Redirect incoming URL request between basic authentication and openidc. I want to categorize if the request for URL is coming from "wget/curl" then i need it to get authenticated with Basic ...
0
votes
2answers
207 views

Redirections, but only on a certain web browser

I have found some cheap SEO pages, whose only purpose is to promote some other sites by feeder links. On Chrome and Safari and Firefox, they show the SEO web page, but on Kiwi Web Browser on my ...
0
votes
0answers
21 views

Mass redirection in Nginx to an external host(s)

I have around 500-1000 URLs to do redirects over. I'm aware how to do it when redirects belong to the same host -- via nginx maps. But how to do it when some of them are local, but others are external?...
0
votes
0answers
119 views

Nginx + Redis - Unable to fix CORS error on HTTPS - only works for http

I have a website running on a Nginx + Php-FM + Redis Stack . Was getting some CORS warnings with error Access to font at '...fa-brands-400.woff2' from origin 'https://example.com' has been blocked by ...
12
votes
4answers
3k views

How can I redirect an entire site to a single page?

I'm in the process of shutting down a site, and have replaced the old site with a single "nobody home" page at the root level of the site. Now I need to set up some redirection, so that any ...
0
votes
2answers
198 views

Need support to write a Nginx rule

I have deployed my front end application in 7000 ports. So I need to write a rule in Nginx so that whenever all the HTTP request from 7000 ( HTTP://example.com:7000) port will automatically redirect ...
0
votes
1answer
225 views

Redirect from one domain name to another for the same website with IIS

On the same website in IIS, we have 2 bindings with domain names "old.example.org" and "new.example.org". When someone calls "https://old.example.org/abc/?xyz=123", I ...
0
votes
0answers
15 views

Redirection loop on detection of user agent

I would like to redirect my users to https://example.org/oldbrowser, if the user is using IE 11. This is what I did: location ~ \.php$ { if ($http_user_agent ~* '(MSIE 10.0|MSIE 9.0|...
1
vote
1answer
141 views

Connections to Webmin via HAProxy are forwarded to port 10000 (HAProxy listening on 443)

EDIT Own solution at the of the question. I am using a HAProxy (on a rented virtual machine) to be able to connect to some applications I am running at home. This works perfectly fine for almost all ...
1
vote
1answer
125 views

Nginx redirect url with parameters

I searched on so many threads without any luck, maybe you can help me. I try to redirect this link https://www.example.com/page/5/?s=gluten to https://www.example.com/gluten_specificarticle I tried to ...
0
votes
0answers
27 views

Apache redirection not working the way it is expected

I have a website say example.com and want to redirect everything from http to https. Also I have additional requirement of redirecting http://example.com (and https://example.com) to https://example....
0
votes
3answers
565 views

I'm getting Permission Denied when redirecting output from CMD to a text file using the logitech_dfu tool

I've gotten this output using this command you see here from the Logitech instructions, and using the ">" operator before the file names in said command. It errors, and does not place anything in the ...
4
votes
0answers
475 views

NGINX auth_request and 302 response status = 500 invalid URL prefix

I'm trying to make NGINX authenticate requests with OAuth2 server (authorization code flow) that will redirect client to the login page. Is it possible to use auth_request directive for that? Here is ...
0
votes
1answer
886 views

WordPress redirection plugin database update issue

I am using this plugin to manage my redirections on my wordpress site. After updating to version 4.7 the plugin indicates that an update of the redirection database is necessary. Doing so however ...
0
votes
2answers
508 views

Redirecting webhook with nginx

I am changing the domain name of my app from old.com to new.com My app is connected to external APIs that send data through webhooks, and I would like to redirect the webhooks sent to the old url, so ...
2
votes
1answer
50 views

How do I remove the www from my domain URL

I am using a tomcat server and I have installed the SSL by changing strings in server.xml and web.xml file. Problem is, When I browse with domain.com, www.domain.com, in both the cases it is browsing....
1
vote
1answer
284 views

Nginx : port redirection

I'm using nginx as a reverse proxy and i would like to redirect the port 3000 provided through the url to the same port on the proxy pass but i'm always redirect to the 443 port when trying. Below is ...
40
votes
1answer
4k views

Why can I update a file owned by root using sudo vi, but not append a line to it with sudo echo “Thing” >> file?

I would like to have script that is doing automated migrations of websites from another be able to append Includes to the /etc/httpd/conf.d/vhosts.conf file. However, when I try to use echo to put ...
0
votes
1answer
85 views

Nginx Redirecting URL (301) with Query String to Final Destination in Single Chain

I need help with nginx redirection I want to redirect: example.com/new-clock/?bc=search&search_id=202 to www.example.com I have used this code in nginx config rewrite ^/new-clock/?bc=search&...
0
votes
2answers
2k views

Why is there a mysterious page redirection on localhost? [closed]

I migrated this question from https://stackoverflow.com/questions/59259672/why-is-there-a-mysterious-page-redirection-on-localhost on StackOverflow I am seeing something extremely weird that I have ...
0
votes
2answers
35 views

Delaying creation of output files when running a longer command

Situation: I have a shell script running. Whenever a file appears in /etc/scripts, the shell script will chmod it to be executable, and then run it. It will then redirect it's error and output into 2 ...
0
votes
0answers
248 views

Apache with mod_jk http to tomcat https Bad request

Dears, I have JSP application sitting on Apache tomcat. I have installed apache2.4 and enabled SSL with mod_jk and kerberos basic authentication working very well when i go to: https://mysite/App with ...
1
vote
1answer
55 views

nginx permanent redirect rule from one domain to another with URL params

I am redirecting the URL from one domain to another using the nginx server block like below: server { server_name subdomain.example.com return 301 https://subdomain.example2.com$...
-1
votes
1answer
40 views

hosting multiple websites on multiple servers with a single outside IP address

I have a single outside, static IP address. I have a domain registered (abc123xyz.com) that points to this IP address. I would like to be able to set up multiple servers (Microsoft and Linux) on the ...
0
votes
1answer
378 views

NGINX redirection with CNAME

It's my first time using NGINX and I running into some trouble. So I have a A record pointing to test.example.com and I created a CNAME toto.example.com redirecting to test.example.com test.example....
1
vote
1answer
124 views

Coming Soon Page with Varnish : Exclude Redirection by IP

I've tried to install Varnish Cache with Magento 2. It seems to work OK (although I still have a no-cache to find and to delete apparently ...) but my .htaccess redirection for my "coming soon" page ...
0
votes
0answers
25 views

When appending to a file, does bash keep that file in memory

I have a long running python program that logs to a file. I start program and let it run in the background python my-process.py >> /var/log/my_log.log 2>&1 & The free memory ...
1
vote
2answers
648 views

wildcard name-based provisioning in haproxy.cfg with LE

Trying to redirect certain domain names to specific backends using catchall wildcard entry[A, A1] in haproxy.cfg (HAproxy v1.8.12 Host OS:Alpine Linux v3.9 version details [B] posted at the end in ...
0
votes
1answer
36 views

iis 10 on Server 2016. Redirection Why?

I have this issue with a newly created site in IIS 10 on Server 2016 I have several sites in IIS. eg testone.myhome.local testtwo.myhome.local I wanted to create a new site, so I added the DNS A ...
1
vote
0answers
34 views

Wordpress Redirection not working

I have a wordpress website where i applied a redirection with the following plugin: https://wordpress.org/plugins/redirection/ I set a few 301 redirections but i get the following error: This page ...
1
vote
1answer
492 views

Apache Redirect without include document root in rewrite rule

I have this working rule: RewriteRule ^(.*)/amp/$ https://example.com/$1?amp=1 [QSA,R=301,NC,NE,L] For redirecting https://example.com/register/amp/ to https://example.com/register?amp=1. And it is ...
0
votes
0answers
56 views

Redirect SSH connexion to another port in function of (sub)domaine

Let me explain what I'm trying to do ; first, I don't want a solution like editing .ssh/config to write a default port for specific domains client side, my question is specific to server side :) The ...
0
votes
1answer
517 views

How to redirect traffic sent to tap to a specific ip addr

I created a tap device using the following commands: sudo ip tuntap add mode tap tap7 sudo ip link set tap7 up sudo ip addr add 77.0.0.1/24 dev tap7 Now, I am using c++ sockets programming to write ...
2
votes
0answers
94 views

ipnat.conf rdr won't work solaris 10

I'm currently trying to achieve the following from the ipnat.conf configuration file on solaris 10: I need my server to act like proxy between two specific hosts (with specific ports). Lets say hostA ...
0
votes
1answer
290 views

Why do redirects from my subdomain end up on my primary domain?

I've got a custom subdomain that, when using Java's HttpServletResponse::sendRedirect() is getting redirected to our main (sub)domain and I'm not sure why. Users at https:// custom.example.com/...
0
votes
2answers
76 views

Why my https://MY_SITE.COM always redirect to the wrong server?

I have done every thing I could to solve this issue, and I could not find any solution. So, my problem is that I can't have lemeilleurducbd.com or https://lemeilleurducbd.com to redirect to www....
1
vote
1answer
417 views

How can I reset the max-age cache control of my page being redirected ( 302 )

A few hours ago I used the following code in my htaccess to redirect the homepage to a maintenance page: Maintenance redirection RewriteCond %{REQUEST_URI} !/maintenance/index.html$ [NC] RewriteCond ...
2
votes
1answer
2k views

IIS URL Rewrite: Match subdomain and redirect to HTTPS

Suppose the website URL is subdomain.company.com I want to redirect the user to https://subdomain.company.com only if The original request is not using https subdomain matches subdomain.comapny.com ...
0
votes
2answers
124 views

Redirect purely LAN communication to a different interface and port (Linux)

I have the following situation: One interface (device) identified by an IP address of 192.168.1.x (I1) that's connecting through whatever service to another interface with IP 192.168.1.y (I2) to port (...
0
votes
1answer
392 views

redirect www.subdomain.domain.com to subdomain.domain.com

We currently have a domain that have a wildcard ssl so our site is something like this, www.ourdomain.com ourdomain.com subdomainA.ourdomain.com subdomainB.ourdomain.com and so on. What i want to ...
-1
votes
1answer
515 views

DNS alias to external subdomain

I have a homepage with a subdomain. For example "mysub.maindomain.ch". Now I want to redirect another domain "www.theother.ch" to this subdomain. In fact: "www.theother.ch" should open "mysub....

1
2 3 4 5
7