Log message #4098205

# At Username Text
# Nov 22nd 2017, 13:51 rudy1976s I have just make a test call of the same asset using curl and there is any cache settings
# Nov 22nd 2017, 13:51 neon1024 As you should be serving static assets directly from the file system and not via php
# Nov 22nd 2017, 13:50 neon1024 Server config
# Nov 22nd 2017, 13:50 rudy1976s I am trying to understand why all css and js have a cache modified expiration of 24 hours: does it depends on cake or server config ?
# Nov 22nd 2017, 13:44 johnwayne Strange tests :)
# Nov 22nd 2017, 13:44 johnwayne No, I think that my company has paid for security tests, and they should start this week so that's it :)
# Nov 22nd 2017, 13:43 neon1024 If they’re all coming from the same IP you could just block that IP in your server iptables
# Nov 22nd 2017, 13:40 johnwayne @neon1024 that can be :S
# Nov 22nd 2017, 13:38 neon1024 That’s not DDoS @johnwayne that’s someone probing your server security
# Nov 22nd 2017, 13:38 neon1024 Afternoon everyone
# Nov 22nd 2017, 13:38 johnwayne 'Unsupported HTTP method "../../../../../../../../etc" provided' Unsupported HTTP method "../../../../../../../../etc" provided
# Nov 22nd 2017, 13:38 johnwayne or
# Nov 22nd 2017, 13:37 johnwayne 'Unsupported HTTP method "' or 1=1-- " provided' Unsupported HTTP method "' or 1=1-- " provided
# Nov 22nd 2017, 13:37 johnwayne After each error I am getting email with errors, but in the last few hours I am getting around 100-200 emails with strange infos like
# Nov 22nd 2017, 13:37 johnwayne Is there a way to detect DDOS attack on your site?
# Nov 22nd 2017, 13:34 joopp i wrote these to helps to someone is looking for the same
# Nov 22nd 2017, 13:34 joopp i modified the fileupload() return 1 now its work like a charm,i can define the succes message where i called
# Nov 22nd 2017, 13:33 joopp oh awesome
# Nov 22nd 2017, 13:30 joopp with true?
# Nov 22nd 2017, 13:30 joopp this does not work probably because the fileupload() does not return with 1?
# Nov 22nd 2017, 13:30 joopp i tried the following if($this->fileupload) {$this->Flash->success(__('Your test file was added.'));))}
# Nov 22nd 2017, 13:28 joopp deal with the success message where i called the $this->uploadfile()
# Nov 22nd 2017, 13:28 joopp i have issue with the following: i wrote the fileupload function at the appcontroller,if it is succesed i want to
# Nov 22nd 2017, 13:27 joopp i am not expert unfortunatly
# Nov 22nd 2017, 13:19 rudy1976s is there anyone here able to help me regarding Asset timestamp ?
# Nov 22nd 2017, 13:05 joopp thx
# Nov 22nd 2017, 13:05 joopp dont know why
# Nov 22nd 2017, 13:05 joopp well
# Nov 22nd 2017, 13:05 joopp read does not work too but the check
# Nov 22nd 2017, 13:04 joopp i use $this->request->session()->check('file_id')
# Nov 22nd 2017, 13:04 joopp okey thank you the problem was not missing of include
# Nov 22nd 2017, 13:04 frazr try $this->request->Session()->read('file_read');
# Nov 22nd 2017, 13:02 frazr include the session component
# Nov 22nd 2017, 13:01 joopp but this also does not work
# Nov 22nd 2017, 13:01 joopp if(isset($this->Session->read('file_read')))
# Nov 22nd 2017, 13:01 joopp also i want to check if fileid is even exist
# Nov 22nd 2017, 13:00 joopp i got Call to a member function read() on boolean
# Nov 22nd 2017, 13:00 joopp but i can not read by $this->Session->read('file_read')
# Nov 22nd 2017, 12:59 joopp i would like to read my session i passed a file id in the fileupload function
# Nov 22nd 2017, 12:54 joopp hello all
# Nov 22nd 2017, 11:25 diego182 can someone helpme to findout whats going on?