symfony provides 2 special routes :

- signin
- secure

You can define them in "settings.yml" of your apps/.../config folder. They
will escape from the security filter, and you should consider them apart
from your website map.

These routes defines :

   - *signin* : You have to connect to continue. You will be redirected to
   referer, who redirected you to here, because you are Unauthorized.
   - *secure* : You don't have enough credentials. You already loggued in,
   but you are not "strong enough"

These pages are not aimed to be referenced.

If you want to create a referenceable page for signin/registering, an
"OK-page" you should create a new one who will not return the 401 code.

Default symfony/guardPlugin is 401.

** WARNING : This is just my opinion **

Alexandre


2009/10/19 Bertrand Zuchuat <[email protected]>

>
> Hi,
>
> Why, the signin page of sfGuardAuth module return a 401 status code
> and not 200 (on load -> /signin) ?
>
> For me, if the page is OK, the status returned is 200.
>
> Thank you.
>
> Bertrand
>
>
> >
>


-- 
Alexandre Salomé -- [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to