know how it goes.
On Monday, January 14, 2013 3:36:08 PM UTC-5, Aaron Pollock wrote:
>
> Thanks lbejohn818 and sophistry.
>
> You're pushing me outside my nginx knowledge here. Would those methods
> also be open to spoofing by anyone who can directly send HTTP reque
env() in lib/Cake/basics.php also checks the $_SERVER SCRIPT_URI (in
addition to the $_SERVER HTTPS you are working off)
I put this in nginx conf to provide cake with a way to know about the
scheme of the connection as it hits the nginx server:
fastcgi_param SCRIPT_URI $scheme://$host$r
i cam from CI to CakePHP and i noticed that today too!
here's a well-written piece from a core CI "reactor" dev who recently
abandoned the CI project in favor of a more modular PHP approach.
http://philsturgeon.co.uk/blog/2012/09/moving-on
his other stuff is worth a read too - if you don't mind
have you checked the CSRF setting in the security component? - you would
not be the first one to be tripped-up by the Form helper security token
regimen when trying to use ajax forms.
On Friday, November 16, 2012 1:53:13 AM UTC-5, Benjamin Such wrote:
>
> Hey guys, I am really stuck with that pr
look at this section:
http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#using-per-session-tokens-instead-of-one-time-use-tokens
you can turn off the "token" function of the csrf so you'll be able to
submit the form twice.
hth.
On Tuesday, November 13, 2012 4:53:13
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 err
access are for:
> if the file doesn't exist, pass the args to app/webroot/index.
> Otherwise, just serve the file as normal.
>
> On Fri, Nov 9, 2012 at 10:20 AM, sophistry >
> wrote:
> > You need to teach CakePHP how.
> > add this to your routes.php file:
&g
you may also be running into multicastDNS issues as noted here:
http://itand.me/mac-os-x-lion-local-domains-and-etchosts-oh-m
On Thursday, November 8, 2012 6:13:58 AM UTC-5, euromark wrote:
>
> did you restart MAMP?
> the help offered by Michael Connors is complete and correct. if you follow
> i
You need to teach CakePHP how.
add this to your routes.php file:
Router::connect('/pinterest_verify.html', array('controller' => 'pages',
'action' => 'display', 'pinterest_verify'));
then go to your site:
http://yoursite.com/pinterest_verify.html
you'll see an error that says "The view for Pages
, we define it here - see basics.php
fastcgi_param SCRIPT_URI $scheme://$host$request_uri;
HTH,
sophistry
On Saturday, March 12, 2011 4:33:43 PM UTC-5, Krissy Masters wrote:
>
> Ok sorry for all the SSL questions.
>
> I am not sure if its because I am on nginx. but all t
@Mohammad I recall having a similar issue... it was because the controller
name in the Router::connect() second parameter was not capitalized. try
that?
On Tuesday, August 28, 2012 3:20:39 AM UTC-4, Mohammad Naghavi wrote:
>
> @Salines: I read the page twice and didn't get any point about why ha
11 matches
Mail list logo