Marli,

Would you want to specify the ssl and non ssl url for each action? or  
globally for the entire plugin?

- Jon

On Jul 3, 2007, at 9:35 AM, Marli wrote:

>
> Yes, on top of that, I have _another_ problem with
> sfSslRequirementPlugin too (maybe someone should compile a list :-).
>
> Not many projects actually have an SSL certificate for their own
> domain (especially if you are on a shared host for example or if you
> are using port-based SSL virtual hosting). sfSslRequirementPlugin only
> switches the protocol to https - it would be nice to be able to
> specify an SSL and non-SSL url in config so the plugin could be used
> to switch SSL on and off for web sites that have a different SSL
> domain than their regular domain.
>
> I added this functionality myself to the version of the plugin I use
> but again it is quite hackish (and adding extra functionality yourself
> means you're always wasting effort redoing it when new versions are
> released, etc). This feature would be very handy in real-world hosting
> situations.
>
> Marli
>
> On Jul 4, 12:24 am, Loïc Vernet <[EMAIL PROTECTED]> wrote:
>> I had also filled a bug report about this plugin some times ago...
>>
>> http://trac.symfony-project.com/trac/ticket/1894
>> ++
>>
>> ----- Message d'origine ----
>> De : Marli <[EMAIL PROTECTED]>
>> À : symfony developers <[email protected]>
>> Envoyé le : Mardi, 3 Juillet 2007, 16h15mn 17s
>> Objet : [symfony-devs] Re: Anyone using sfSslRequirementPlugin?
>>
>> I tried using that plugin tonight as well and ran into the exact same
>> problem.
>>
>> The solution, I discovered, is very simple - whenever you have
>> require_ssl anywhere, you have to put allow_ssl: true as well. For
>> some insane reason it appears defaults to false (you would assume
>> something like that would be true by default). It's not mentioned in
>> the documentation anywhere but adding allow_ssl: true solved the
>> infinite redirection loop for me.
>>
>> Hope that helps,
>>
>> Marli
>>
>> On Jul 3, 7:05 am, "Jonathan H. Wage" <[EMAIL PROTECTED]> wrote:
>>
>>> When I require_ssl for one of my actions, it gets in an infinite  
>>> loop
>>> of redirecting? Anyone else have this issue?
>>
>>> - Jon
>>
>>        
>> _____________________________________________________________________ 
>> ________
>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers  
>> Yahoo! Mail
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to