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. On Tue, Mar 8, 2011 at 18:43, Drew Sire <nathandrews...@gmail.com> wrote: > 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. > > On Tue, Mar 8, 2011 at 9:37 AM, Justen Doherty <phpc...@gmail.com> wrote: >> >> 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: >>> >>> 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> >>>> >>>> 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: >>>>> >>>>> 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 >>>>> >>>> >>>> -- >>>> If you want to report a vulnerability issue on symfony, please send it >>>> to security at symfony-project.com >>>> >>>> You received this message because you are subscribed to the Google >>>> Groups "symfony users" group. >>>> To post to this group, send email to symfony-users@googlegroups.com >>>> To unsubscribe from this group, send email to >>>> symfony-users+unsubscr...@googlegroups.com >>>> For more options, visit this group at >>>> http://groups.google.com/group/symfony-users?hl=en >>> >>> -- >>> If you want to report a vulnerability issue on symfony, please send it to >>> security at symfony-project.com >>> >>> You received this message because you are subscribed to the Google >>> Groups "symfony users" group. >>> To post to this group, send email to symfony-users@googlegroups.com >>> To unsubscribe from this group, send email to >>> symfony-users+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-users?hl=en >> >> >> >> -- >> ----------------------------------------------------------------- >> http://www.linkedin.com/in/justendoherty - LinkedIn >> http://www.twitter.com/phpchap - Twitter >> http://www.anotherwebdeveloper.com - Portfolio >> >> -- >> If you want to report a vulnerability issue on symfony, please send it to >> security at symfony-project.com >> >> You received this message because you are subscribed to the Google >> Groups "symfony users" group. >> To post to this group, send email to symfony-users@googlegroups.com >> To unsubscribe from this group, send email to >> symfony-users+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en