Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Symfony always redirects to https
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gergely Csépány  
View profile  
 More options Mar 7 2011, 6:54 pm
From: Gergely Csépány <cheo...@gmail.com>
Date: Tue, 8 Mar 2011 00:54:29 +0100
Local: Mon, Mar 7 2011 6:54 pm
Subject: Symfony always redirects to https
Hi,

I'm having a strange problem: on a shared host, all the redirects (eg.
->redirect('@homepage')) result in https urls, even if I was on bare
http. In the logs I see that the WebController receives this https url
from the Routing, but I never told it to do so. And the really strange
is that it only happens on one shared host, not on my computer, so
debugging is slow and difficult.

I welcome any ideas what can cause this, or where to look to find the problem.

Thanks,
Gergely


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gareth McCumskey  
View profile   Translate to Translated (View Original)
 More options Mar 8 2011, 8:37 am
From: Gareth McCumskey <gmccums...@gmail.com>
Date: Tue, 08 Mar 2011 15:37:58 +0200
Local: Tues, Mar 8 2011 8:37 am
Subject: Re: [symfony-users] Symfony always redirects to https
Eliminate the likely candidates:

1. Problem happens on one machine and not the other.
2. Code does not change between one machine and the other.
3. Therefore problem is not code, problem is the other machine.

There is probably a web server or proxy setting that is converting all
port 80 http traffic to https automatically.

On 08/03/2011 01:54, Gergely Cs p ny wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oscar balladares  
View profile  
 More options Mar 8 2011, 12:20 pm
From: oscar balladares <liebegr...@gmail.com>
Date: Tue, 8 Mar 2011 11:20:37 -0600
Local: Tues, Mar 8 2011 12:20 pm
Subject: Re: [symfony-users] Symfony always redirects to https

I totally agree with Gareth.

When configuring apache to work with SSL; it will automatically redirects
any request - under the SSL domain e.g jobeet.com - to https protocol.

2011/3/8 Gareth McCumskey <gmccums...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justen Doherty  
View profile   Translate to Translated (View Original)
 More options Mar 8 2011, 12:37 pm
From: Justen Doherty <phpc...@gmail.com>
Date: Tue, 8 Mar 2011 17:37:30 +0000
Local: Tues, Mar 8 2011 12:37 pm
Subject: Re: [symfony-users] Symfony always redirects to https

what happens you try a non-symfony page and call http:// ... ?

On Tue, Mar 8, 2011 at 5:20 PM, oscar balladares <liebegr...@gmail.com>wrote:

--
-----------------------------------------------------------------
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew Sire  
View profile  
 More options Mar 8 2011, 12:43 pm
From: Drew Sire <nathandrews...@gmail.com>
Date: Tue, 8 Mar 2011 09:43:37 -0800
Local: Tues, Mar 8 2011 12:43 pm
Subject: Re: [symfony-users] Symfony always redirects to https

I would first check your htaccess file. Can you post the contents of it in a
reply? I am having redirect problems with sfGuardPlugin. Maybe I will
uncover something by helping you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gergely Csépány  
View profile  
 More options Mar 8 2011, 5:38 pm
From: Gergely Csépány <cheo...@gmail.com>
Date: Tue, 8 Mar 2011 23:38:43 +0100
Local: Tues, Mar 8 2011 5:38 pm
Subject: Re: [symfony-users] Symfony always redirects to https
It must have been the SSL setup in apache, I use the default .htaccess
files symfony comes with.
I hacked a workaround in the WebContoller class' redirect function to
always change https to http.

The problem wasn't obvious to me, because I could access symfony on
http, but symfony thought I accessed it thru https and when the
redirecting function constructed the new url, it used https.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »