tags:

views:

94

answers:

2

Hi, i'm working in a webservice built on top off symfony framework.

Lately i was trying to make curl requests to a module but it gave me 500 error code reply asking for login and password, i looked inside module and it had the config folder with the file security.yml with this contents :

default:
  is_secure: false

What's wrong? why i can't make curl requests to this module?

A: 

I am not sure if 'default' is acceptable? Have you tried 'all' instead?

yclian
Changed and nothing has changed, should i do anything else like clear cache?
markcial
Yes, always clear your cache.However, `sfYamlConfigHandler.class.php` suggests to me that, 'default' shall work too as it will be merged with 'all'. Try to hit on the 'dev' environment and see at which point it resolves the 500.
yclian
A: 

What about 'on' and 'off'?

Eric
on and off is deprecated in Symfony 1.4
Timo