Questions tagged [redirect-loop]

0

votes
0

answer
3

Views

Redirect loop while logged in to jaspersoft

I have installed jasperserver on tomcat 8 on Windows. I want to let user access this via NGinx as reverse proxy. I have installed nginx and created a serverfile for jaspersoft. Everything looks fine when I access the URL of jaspersoft. But as soon as I am logged in I am being redirected from 'https:...
Sander Horst
1

votes
3

answer
2k

Views

Redirect Loop on Drupal 6 after moving website

I posted a question earlier today asking which files needed to be changed to move drupal to MAMP successfully. I've now moved it all over and connected it to the database, however, I'm stuck in a redirect loop whilst trying to view the website. As far as I can gather, the redirect loop is stuck betw...
Dan Hanly
1

votes
1

answer
247

Views

Redirect loop issue with mod_rewrite php script

I have a .htaccess file with the following rules: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?route=$1 [L,QSA] In the index.php I have: $route = (isset($_GET['route'])?explode('/',$_GET['route']):null); if(!empty($route)){ $ro...
DominicM
1

votes
4

answer
379

Views

Redirect loop with AppEngine and CodeIgniter PHP when deploying to production

I just deployed my CodeIgniter PHP AppEngine project to the cloud and I'm running into an issue where when I try to access one of my URL's, it results in a redirect loop. I've tried using different browsers & incognito modes, but they still result in the same problem. I setup one URL in my app.yaml...
Purdy
1

votes
1

answer
2.7k

Views

Nginx reverse proxy causing infinite loop

I have the following in my Nginx site config file: server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; root /usr/share/nginx/html; index index.php index.html index.htm; server_name example.com; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } error_page 404 /404...
Zak
1

votes
2

answer
76

Views

Subdirectory not redirecting to index

I used the following code in my .htaccess file.: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] After using it, it finally allowed me to remove file extensions, my goal, but then subdirectories no longer redirected to their respective index files, instead s...
Fate
1

votes
4

answer
0

Views

PHP Registration Problem

I am programming a php registration system where there is two points of entry (if that makes sense): If the client wants to purchase a product but doesn't have an account and it stores the id of the product all the way through the registration process. Then it allows to process the payment after reg...
David Passmore
1

votes
1

answer
1.7k

Views

Redirect Loop with Laravel 4

I have this installed on my local machine. Laravel is installed at the root of a vhost folder, and the document root is the public folder. If i just go to the root url everything is fine. Howerver if I specify a route then I get a redirect loop. For example www.example.com works, but www.example.com...
LoneWolfPR
1

votes
2

answer
568

Views

How to fix redirect looping in servlet url-pattern like “users/*”

I have a problem with setting url-pattern for servlet. If I set it to something like 'users/*', after forwart() or include() to jsp, I get a redirect looping. Here is my code: @WebServlet('/users/*') public class UserServlet extends HttpServlet { protected void doGet(HttpServletRequest req, HttpServ...
mustafa1453
1

votes
2

answer
1.9k

Views

This webpage has a redirect loop error

Iam getting error in browser as 'This webpage has a redirect loop' when iam just running my url as 'http://localhost:9090/MyProj/todos/1' Not understanding how to fix this, please someone look into this and provide me solution. Below is my code: web.xml MyServlet MyServlet MyServlet /todos/* MyServl...
user3815806
4

votes
3

answer
1.7k

Views

This page isn't redirecting properly error with MVC3 + AJAX + Forms Authentication

EDIT: Removed non-relevant code/desc, since the issue was not just to do with the initial code there. I have an MVC3 based application that uses a lot of Ajax calls (such as with jqGrid) and Forms Authentication. I also use the [Authorize] attribute on certain controller/actions that I call with Aj...
SimpleUser
2

votes
4

answer
4.9k

Views

Liferay portal with “This webpage has a redirect loop”

I have the portal http://fut5.co configured with Liferay 6.1. However, there is a problem when viewing from the Web browser. The first time I visit the site everything works fine, but when I try to visit again, the next message appears: 'This webpage has a redirect loop' To reproduce this problem, e...
AngocA
2

votes
1

answer
277

Views

Redirect loop when setting port via environment variable in forcedomain (node.js, express)

I use forcedomain middleware in my node.js application with express framework to get redirects to default domain. When I specify port in forcedomain settings explicitly, it works well, for example in a trivial 'hello world' application: var express = require('express') var app = express() var for...
hooke
2

votes
1

answer
102

Views

Why does this PHP code snippet pushing logins to HTTPS cause a redirect loop?

I would like to push my logged in users to HTTPS but let non-logged in users remain on HTTP (the https is already set up). I took this code snippet from another SO post (apologies that I cannot now find the post to reference) and nested it within an if($loggedin) condition so that non-logged in user...
Cauchy Kun
2

votes
1

answer
1.7k

Views

401 redirect loop with Active Admin and Devise

I have an application with Devise (2.2.3) and Active Admin (0.5.1) I installed Devise first, and then Active Admin afterwards. The entire app needs to sit behind a login, so in my application controller I have the following: before_filter :authenticate_user! However, since installing Active Admin t...
purpletonic
2

votes
1

answer
340

Views

Stormpath Spring Boot redirect loop

Using Stormpath and Spring Boot (based on this tutorial), after I've started my server and successfully logged in with my credentials everything works fine. However when I exit the browser and try to open my application I get a redirect loop. A minimal example is available here as an archive. It's a...
Kohányi Róbert
7

votes
1

answer
10.1k

Views

nginx redirect loop with ssl

This is a very similar problem to Nginx configuration leads to endless redirect loop but that discussion has not led me to an answer yet. I'm learning how to work with nginx and ssl and everything works perfectly on the regular http:// example.com side of things, but when routing to the https:// exa...
stoves
3

votes
2

answer
587

Views

.htaccess redirect to file

I have to humble myself and ask for some guidance on a topic I thought I understood. I am struggling with a 301 redirect issue, and hope someone not engrossed in this issue can help me see the light. My domain once used folders as the primary product target, ie, domain.com/prod1, domain.com/prod2,...
Jimmyb
2

votes
1

answer
2.5k

Views

Servlet filter runs in infinite redirect loop when user is not logged in

I have got two HTML files login.html Test.html My requirement is that the User shouldn't able to access test.html unless he logs in successfully that is through login.html This is my login.html file Login Page 122 Username: Password: This is my LoginServlet which recivies the request when cl...
Pawan
4

votes
1

answer
1k

Views

Redirect Loop for Google Account login with SSL for Custom Domain on Google App Engine

I have setup SSL (VIP) for a custom domain on my Google App Engine app (https://www.gqueues.com). Everything works fine for most of my users. There are no problems at all for users who login with their Google Apps accounts (which uses OpenId). Most users who login with their Google Accounts don't...
hennekec
2

votes
1

answer
835

Views

WordPress 4.7.2 update on multisite causes wp-admin redirect loop

I have a website running multisite using a subdirectory setup. I have just tried updating my site to 4.7.2 and the update goes through and no errors happen during the installation, but then after the install is finished I am redirected to /wp-admin/network/about.php?updated which returns a 404 page....
7

votes
1

answer
6.1k

Views

Cookieless sessions and IIS7 causes a redirect loop

I have an ASP .NET website that uses cookieless sessions. When the initial request is made to the site using a url such as: http://localhost/site IE just displays the standard 'Internet Explorer cannot display the webpage' message. Firefox is a bit more helpful and displays the following message: 'R...
Carl
2

votes
0

answer
232

Views

Wordpress wp-login and wp-admin in redirectloop to themself

I have a Wordpress website, where I can't login anymore. When I go to the wp-login page I get too many redirects. When I track the redirects, I see it is 302 redirected to itself, the exact same url. This is what I have tried so far: Removed all plug-ins Changed the theme by database Removed wp-adm...
Bart Roelofs
2

votes
0

answer
138

Views

Wordpress htaccess causing redirect loop on root only without 'www.'

I installed a WordPress app on an OpenShift machine and added CNAMES to it (on CloudFlare). I started getting a redirect loop error only when I was going to the website without www. and only on root. Going to wp-admin, for example, with or without the www. worked well. Then I commented my .htaccess...
Victor Ferreira
2

votes
3

answer
1.2k

Views

Redirect Loop in symfony2 when forcing https

In my Symfony2 app I have a firewall set up so that everything under the /admin route needs to be run through https, however when deployed I get a redirect loop. I've read the documentation on the Symfony2 site on firewalls, and setting up a login form. I've also read a few Stack Overflow articles a...
Mrshll1001
5

votes
1

answer
378

Views

the django-debug-tool lead to an redirect-loop on admin site?

302 FOUND Location: /admin/ The Django Debug Toolbar has intercepted a redirect to the above URL for debug viewing purposes. You can click the above link to continue with the redirect as normal. the loop is between /admin and /admin/login/?next=/admin/
youzipi
2

votes
0

answer
143

Views

Laravel 5.2 dashboard redirect loop

I am new to laravel and am using the 5.2 version. Through tutorials and such I have found online I have been able to use make:auth for a user account. However I have three different types of users (viewer, artist, sponsor) meaning that each user has to be on their own table and have their own reg...
shutterfly
3

votes
3

answer
2.4k

Views

urlrewritING.net query character in virtual url causing redirect loop

I've got a project where we're re-building a site for a client, the new site is using umbraco on the .net platform. the old site was cold fusion. Umbraco utilises the urlrewriting.net library so I created all the 301 recirect rules for the old cold fusions urls but this one is causing an infinite lo...
Myster
3

votes
1

answer
392

Views

Odd redirect issue with Wordpress even though Headers are correct when missing trailing slash

Hey Fellow Programmers! Ok real trivial I am sure but I just can't work this out. Basically (when not logged in) and requesting a page without a trailing slash the browser returns 'redirect loop' error or in Firefox an alternative error but similar. Firefox has detected that the server is redirect...
Stefan P