Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Unable to find the controller for path "/demo/login_check" #38

Closed
cadorn opened this issue May 5, 2015 · 2 comments
Closed

Unable to find the controller for path "/demo/login_check" #38

cadorn opened this issue May 5, 2015 · 2 comments
Milestone

Comments

@cadorn
Copy link

cadorn commented May 5, 2015

I have deployed this to OpenShift and am getting a security error when trying to log in at: http://pinfwiki-cadorn.rhcloud.com/symfony-cmf/web/app_dev.php/demo/login

I presume I need to configure security.yml.

I found this one https://github.com/symfony-cmf/cmf-sandbox/blob/master/app/config/security.yml but it looks like the structure is different here.

I am all new to the symfony security system and am hoping to get a sample security.yml file I can drop in to make the demo work online using app_dev.php.

@dbu
Copy link
Member

dbu commented May 6, 2015

this is a hardwired security measure built into app_dev.php. you really do not want public users to access app_dev.php as they can see way too many things about your application. if you really do want to develop remotely, you should tunnel your connection through ssh, or if you have a static ip you could allow that ip in your project. for a public site, the recommended thing is to entirely remove app_dev.php during the deployment process.

these things are not cmf specific at all, but the same as the core symfony framework. if you did not yet, i recommend you to read the quick tour and the first couple of chapters of the symfony book. i tried to find a single point where the security in app_dev.php is specifically explained, but did not find that. maybe @wouterj can point you to something specific.

@lsmith77 lsmith77 added this to the 1.3 milestone Jun 17, 2015
@wouterj
Copy link
Member

wouterj commented Mar 25, 2016

in #54, all these demo stuffs were removed

@wouterj wouterj closed this as completed Mar 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants