Message from discussion
nginx and CakePHP
Received: by 10.66.78.161 with SMTP id c1mr1150963pax.16.1352904131643;
Wed, 14 Nov 2012 06:42:11 -0800 (PST)
X-BeenThere: cake-php@googlegroups.com
Received: by 10.68.141.79 with SMTP id rm15ls2261675pbb.1.gmail; Wed, 14 Nov
2012 06:41:35 -0800 (PST)
Received: by 10.68.231.7 with SMTP id tc7mr7032831pbc.1.1352904095436;
Wed, 14 Nov 2012 06:41:35 -0800 (PST)
Date: Wed, 14 Nov 2012 06:41:34 -0800 (PST)
From: sophistry <phlo...@gmail.com>
To: cake-php@googlegroups.com
Message-Id: <ef8f94e7-0377-402f-b3b3-c4f3d4d3599f@googlegroups.com>
In-Reply-To: <CACx4QMFam8whadZoMbHFEKumSE4UVDRX3G9XX64GZnb7TkNArA@mail.gmail.com>
References: <CACx4QMFam8whadZoMbHFEKumSE4UVDRX3G9XX64GZnb7TkNArA@mail.gmail.com>
Subject: Re: nginx and CakePHP
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_752_21911719.1352904095077"
------=_Part_752_21911719.1352904095077
Content-Type: multipart/alternative;
boundary="----=_Part_753_10381234.1352904095077"
------=_Part_753_10381234.1352904095077
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
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
>
>
>
>
>
>
------=_Part_753_10381234.1352904095077
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
can you determine the reason the request is being blackholed?<div>http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html<br><br><br>On Tuesday, November 13, 2012 4:53:13 PM UTC-5, advantage+ wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><font>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.<br><br>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 </font><font> address </font><font>not found:<br>
<br><b><h2>The request has been black-holed</h2><br><p class="error"><br> <strong>Error: </strong><br> </b></font><b>The requested address <strong>'/login?url=login'</strong> was not found on this server.</b><font><b>.<br>
</p><br></b><br>Checked firebug and both requests are sent to the same URL address </font><span><span><span><a href="http://mysite.com/login" target="_blank">http://mysite.com/login</a></span></span></span><br>
<font><br>Checked the HTML and both forms go to the same URL:<br></font><span><<span>form</span><span> <span>id</span>="<span>UserLogin</span>"</span><span> <span>accept-<wbr>charset</span>="<span>utf-8</span>"</span><span> <span>method</span>="<span>post</span>"</span><span> <span><wbr>action</span>="<span><a href="http://mysite.com/login" target="_blank">http://mysite.com/<wbr>login</a></span>"</span><span> <span>sourceindex</span>="<span>0</span>"</span><span>></span></span><br>
<br>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)<br><br><br>If anyone out there running nginx would mind sharing sites-available/{site} conf file or any insight.<br>
<br>Thanks,<br>Dave<br><font><br><br><br><br></font><br>
</blockquote></div>
------=_Part_753_10381234.1352904095077--
------=_Part_752_21911719.1352904095077--