Jump to content

Endless 302 https redirects on some pages


pickles

Recommended Posts

Runing 15 day trial version to verify this works before purchasing.

 

Admin section seems to work everywhere with either http or https.

Client section works find with http (although some menu items to go https)

Client section will send a 302 redirect (back to itself) on some pages causing an endless loop that firefox finally traps. Pages that get the endless 302 redirect include: index.php, announcements.php, downloads.php

 

Here are headers from http & https versions of announcements.php

 

NON SECURE (HTTPS) //billing.primechoice.net/announcements.php

 

 

 

GET /announcements.php HTTP/1.1

 

Host: billing.primechoice.net

 

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

 

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

 

Accept-Language: en-us,en;q=0.5

 

Accept-Encoding: gzip,deflate

 

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

 

Keep-Alive: 300

 

Connection: keep-alive

 

Cookie: PHPSESSID=97220e7e686ad270661ede3cbd02bf28

 

Cache-Control: max-age=0

 

 

 

HTTP/1.x 200 OK

 

Date: Sat, 13 Oct 2007 23:13:36 GMT

 

Server: Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

 

X-Powered-By: PHP/5.2.4

 

Expires: Thu, 19 Nov 1981 08:52:00 GMT

 

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

 

Pragma: no-cache

 

Keep-Alive: timeout=5, max=100

 

Connection: Keep-Alive

 

Transfer-Encoding: chunked

 

Content-Type: text/html; charset=iso-8859-1

 

 

SECURE (HTTPS) billing.primechoice.net/announcements.php

 

 

 

GET /announcements.php HTTP/1.1

 

Host: billing.primechoice.net

 

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

 

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

 

Accept-Language: en-us,en;q=0.5

 

Accept-Encoding: gzip,deflate

 

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

 

Keep-Alive: 300

 

Connection: keep-alive

 

Cookie: PHPSESSID=97220e7e686ad270661ede3cbd02bf28

 

 

 

HTTP/1.x 302 Found

 

Date: Sat, 13 Oct 2007 23:14:54 GMT

 

Server: Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

 

X-Powered-By: PHP/5.2.4

 

Expires: Thu, 19 Nov 1981 08:52:00 GMT

 

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

 

Pragma: no-cache

 

Location: h ttps://billing.primechoice.net/announcements.php

 

Content-Length: 0

 

Keep-Alive: timeout=5, max=100

 

Connection: Keep-Alive

 

Content-Type: text/html; charset=iso-8859-1

 

 

 

I'm new to the LAMP environment (Solaris guy), especially with cpanel, but I simply can't find anything in the apache configuration to do this. .htaccess is blank, no special stuff in httpd.conf....

 

Help please!

Link to comment
Share on other sites

Sorry guys, found it, fixed it.

 

I did a search for 302 after my post, and found another post with a problem of going to a ssl page without having a ssl cert. Read on, and found out that that is what the two urls were all about in the setup. I put https:.... on both, so when whmcs was trying to be efficient and redirect to a non secure page for insensitive stuff, I had the non-ssl page configured to https.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated