http-redirect Questions

4

I just made a new website for an association and the client is asking me to redirect their old wixsite website to the new website Did anyone have a solution to do that? It's seems more complicated ...
Germanism asked 19/9, 2020 at 15:4

3

Solved

This is my primary react file: // App.tsx const App: FC = () => { const isLoggedIn: boolean = localStorage.getItem('logged_user') !== null; return ( <BrowserRouter> <Routes> &...

3

Solved

HTMX is great and using AJAX for most of the stuff is awesome! But from time to time I just need a real "phyiscal" redirect to another page. Any ideas how to achieve this without starting...
Deil asked 7/1, 2022 at 7:59

8

I'm trying to do a redirect using the below code: <script type="text/javascript"> window.location.href = "http://google.com" </script> FF and IE work as they should. Chrome doesn't. ...
Amann asked 19/12, 2011 at 19:13

2

I had an ASP.NET Core 2 web app without Identity Server where I configured the automatic challange of unauthenticated HTTP requests to not redirect the user to the login page and just return 401 in...
Arrivederci asked 15/10, 2018 at 8:50

4

Solved

I am writing a bash script to redirect output from another command to the proper location. Basically, when the script is invoked from a shell/commandline I want to send the output to STDOUT. But, w...
Ferriage asked 23/11, 2010 at 22:55

3

I'm currently working on implementing universals links into my App, they work perfectly on my simulators whether using command line xcrun simctl openurl booted or by tapping on links from messages ...
Chloro asked 17/5, 2021 at 12:12

2

Solved

This is essentially the same question as htaccess force https and redirect www to non-www, but no other subdomains (i.e., I want to configure Apache to redirect all non-HTTPS and/or "www" URLs to H...
Piapiacenza asked 3/9, 2016 at 5:57

3

I thought this would be a simple task, but I struggle to find a way to force my webpage to use https. The next.js webapp lives on the heroku servers and I've set up the SSL. Both https and http ver...
Fantasize asked 3/3, 2021 at 13:28

2

Why can't I access any of my local development sites anymore? Firefox and Chrome both redirects to HTTPS (localhost/site becomes https://localhost/site and throws an error) ... I'm not going to set...
Cockboat asked 9/6, 2021 at 11:29

5

Solved

In node.js (using Hapi framework) I'm creating link for user to allow my app reading user account. Google handles that request and asks about giving permissions. Then Google makes redirect to my se...
Say asked 24/11, 2016 at 8:43

8

Solved

I'd like to send a 401 Unauthorized AND redirect the client somewhere. However: if I do it like this: header('HTTP/1.1 401 Unauthorized'); header('Location: /'); the server sends a 302 Found wi...
Chrisman asked 8/1, 2012 at 5:24

5

Solved

I have a problem when changing the default LoginController redirect after login, I'm getting an ErrorException in Response.php line 339: Header may not contain more than a single header, new line ...
Pentecost asked 2/2, 2017 at 19:45

2

Solved

I'm using a Cloudfront distribution as a proxy for my Heroku server. Why? for these purposes. Anyway, my app has a force ssl rule on it. When I go to my cloudfront url, the origin being my heroku ...
Buenrostro asked 15/7, 2014 at 7:2

14

Solved

Point #1 If I type: www.myurl.com/somepage http://www.myurl.com/somepage http://myurl.com/somepage https://myurl.com/somepage have it redirect to https://www.myurl.com/somepage Point #2 When...
Phonate asked 4/1, 2016 at 7:12

5

Solved

I am new to ASP.NET and programming too. I am using Visual Studio 2022 v17.5 and ASP.NET Core 6 for building a web application. I am in the development environment. Initially all was going well but...

5

I am working on an angular application with routing and path parameter. With a button click, a function is called to redirect the user to a new URL with the same path parameter. Although the URL in...

6

I am making a custom administration page in Django. I do not want to reinvent the wheel and thus want to use Django admin login form for the staff to log in and redirect them to /my-url/ afterwards...
Abuzz asked 14/6, 2012 at 15:19

3

Solved

I'm building a closed social network and currently when a user is not logged in they will always be redirected to the homepage of my domain. What I would like to do is do the following: Use NGI...
Lycaon asked 26/3, 2015 at 12:51

7

Solved

I have a simple form which accepts a username and a password. I have to use sendRedirect() method for the page to redirect to one page if log in is valid and to another if not. I need to use sendRe...
Schlicher asked 26/12, 2012 at 10:17

3

Solved

I have an Nginx server listening on 80 ran inside a Docker container. Inside the Nginx config I need to perform a redirect to a static page in specific situations. rewrite ^ /foobar.html redirect...
Birthright asked 27/1, 2017 at 21:15

2

Solved

I would like to redirect a certain group of users to another URL (external) before the page is loaded, i.e. with middleware. Since I use nuxt in ssr-mode and redirect the users in layouts/default v...

5

RestTemplate restTemplate = new RestTemplate(); final MappingJackson2XmlHttpMessageConverter converter = new MappingJackson2XmlHttpMessageConverter(); final List<MediaType> supportedMedia...
Squall asked 2/4, 2015 at 17:9

1

I have the below code which am using to get the response header location. let callAuthorize = async() => { try { const authorizeResponse = await fetch(requesturl, {redirect: "manual&quot...

3

Solved

I have this structure: site.com/api/index.php. When I send data to site.com/api/ there is no issue, but I imagine it would be better if the api would work without the trailing slash also, like this...
Sciomachy asked 4/9, 2013 at 23:27

© 2022 - 2024 — McMap. All rights reserved.