WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#17189 closed defect (bug) (invalid)

Brand new 3.1.1 Install Generates 310 Error TOO MAY REDIRECTS

Reported by: CongdonWeb Owned by:
Milestone: Priority: normal
Severity: blocker Version: 3.1.1
Component: Canonical Keywords:
Focuses: Cc:

Description

I just installed a brand new copy of WordPress 3.1.1 and it's giving me the redirect loop headache.

Because this is a pre-production site, I have stopped what I'm doing and will leave the site as is to assist as needed.

The site is hosted on the Rackspace Cloud. The database is MySQL 5.0.77.

I went through the 5-minute install procedure. I generated the secret keys as mentioned and pasted them into (replacing the existing ones) wp_config. I then moved wp-config to the directory above my install.

Site is www.congdon.org
In the settings page, WordPress address and Site Address are both http://www.congdon.org

One question I have, the description next to site address states 'Enter the address here if you want your site homepage to be different from the directory you installed WordPress.' This would seem to indicate that this should be an optional setting, but it is not.

I have not installed any themes or plugins. This is a FRESH install just downloaded this morning. There was nothing else in this site except an index.htm and a picture. Those files are still here, but the file has been renamed index.htm.old. The database did not exist until I created it just before installing wordpress.

I can get to the Admin interface.

My $_SERVER dump (I edited out the Remote IP and Rackspace customer number (six digits) from the directories...). I took the cookie out as well.

UNIQUE_ID	Ta7UVKwRA4sAACp4lk4AAAAX
SCRIPT_URL	/test.php
SCRIPT_URI	http://www.congdon.org/test.php
PHP_DOCUMENT_ROOT	/mnt/stor2-wc1-dfw1/******/www.congdon.org/web/content
HTTP_USER_AGENT	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
HTTP_ACCEPT	application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE	en-US,en;q=0.8
HTTP_ACCEPT_CHARSET	ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_HOST	www.congdon.org
HTTP_X_MOSSO_DT	WinWeb-4
HTTP_X_CLUSTER_CLIENT_IP	24.123.26.124
HTTP_CONNECTION	close
HTTP_ACCEPT_ENCODING	gzip,deflate,sdch
PATH	/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE	Apache/2.2 Server at www.congdon.org Port 80
SERVER_SOFTWARE	Apache/2.2
SERVER_NAME	www.congdon.org
SERVER_ADDR	172.17.3.139
SERVER_PORT	80
SERVER_ADMIN	root@localhost
SCRIPT_FILENAME	/mnt/stor2-wc1-dfw1/******/www.congdon.org/web/content/test.php
REMOTE_PORT	8336
GATEWAY_INTERFACE	CGI/1.1
SERVER_PROTOCOL	HTTP/1.1
REQUEST_METHOD	GET
QUERY_STRING	
REQUEST_URI	/test.php
SCRIPT_NAME	/test.php
DOCUMENT_ROOT	/mnt/stor2-wc1-dfw1/******/www.congdon.org/web/content
PHP_SELF	/test.php
REQUEST_TIME	1303303252
argv	Array
argc	0

Here is my output from HTTPFox

00:00:40.216	0.340	403	323	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:40.625	1.335	473	213	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:42.028	0.112	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:42.214	0.163	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:42.448	0.088	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:42.608	0.157	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:42.832	0.110	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:43.013	0.150	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:43.231	0.095	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:43.395	0.140	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:43.604	0.101	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:43.772	0.140	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:43.984	0.100	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:44.152	0.179	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:44.400	0.101	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:44.569	0.141	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:44.783	0.103	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:44.962	0.146	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:45.178	0.100	517	300	GET	302	Redirect to: index.php	http://www.congdon.org/
00:00:45.347	0.182	526	190	GET	301	Redirect to: http://www.congdon.org/	http://www.congdon.org/index.php
00:00:45.598	0.102	517	300	GET	302	text/html (NS_ERROR_REDIRECT_LOOP)	http://www.congdon.org/

Change History (2)

#1 follow-up: @westi
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Your IIS server is redirecting requests to index.php and WordPress is redirecting to the plain url.

You need to fix your IIS config:

curl -I www.congdon.org
HTTP/1.1 302 Found
Server: Microsoft-IIS/7.0
Content-Type: text/html
Date: Wed, 20 Apr 2011 14:33:26 GMT
Location: index.php
X-Powered-By: ASP.NET
Content-Length: 144

curl -I www.congdon.org/index.php
HTTP/1.1 301 Moved Permanently
Server: Apache/2.2
Content-Type: text/html; charset=UTF-8
Date: Wed, 20 Apr 2011 14:33:35 GMT
X-Pingback: http://www.congdon.org/xmlrpc.php
Location: http://www.congdon.org/
Transfer-Encoding: chunked
Connection: Keep-Alive

#2 in reply to: ↑ 1 @CongdonWeb
10 years ago

Well, that's probably not going to happen... It's on the Rackspace Cloud. I did find that there is a switch to change it to a Linux/Apache-based server, so that cleaned up the problem fast.

Note: See TracTickets for help on using tickets.