Security component is running but why black hole it on the second try? And why URL not found when its found on the first form submit, comes back invalid user / pass please try again. Then it gets black-holed. When you try again.. Just seems odd that it only happens on second try.
From: [email protected] [mailto:[email protected]] On Behalf Of sophistry Sent: Wednesday, November 14, 2012 11:12 AM To: [email protected] Subject: Re: nginx and CakePHP can you determine the reason the request is being blackholed? http://book.cakephp.org/2.0/en/core-libraries/components/security-component. html On Tuesday, November 13, 2012 4:53:13 PM UTC-5, advantage+ wrote: I I finally have the site configured to run on nginx but I am getting a weird error on forms. Anytime the same form is submitted back to back. For example if I go to login and purposely enter wrong password I end up back to login invalid user / pass as it should but try to login again I get error address not found: <h2>The request has been black-holed</h2> <p class="error"> <strong>Error: </strong> The requested address '/login?url=login' was not found on this server.. </p> Checked firebug and both requests are sent to the same URL address http://mysite.com/login Checked the HTML and both forms go to the same URL: <form id="UserLogin" accept-charset="utf-8" method="post" action="http://mysite.com/login" sourceindex="0"> First attempt goes as it should. Second has same HTML yet it ends up getting directed to the url with that crazy ?url= addition.(it does not show up in the html so something is happening after the submit) If anyone out there running nginx would mind sharing sites-available/{site} conf file or any insight. Thanks, Dave -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
