Log message #3942680

# At Username Text
# Oct 5th 2016, 12:11 johan hm maybe the book should be served over https then?
# Oct 5th 2016, 12:10 johan seems ok here, on multiple browsers
# Oct 5th 2016, 12:10 rchavik megan, it's not working for me, but in my case the problem is that my ISP injects some crap ads on non https
# Oct 5th 2016, 12:09 jay ah yes, just replicated
# Oct 5th 2016, 12:09 dereuromark I once had a similar issue a while back, but cannot reproduce how either.. maybe it is only on some pages which might be JS broken?
# Oct 5th 2016, 12:06 jay @megan Working fine on 53.0.2785.113 (64-bit) :s
# Oct 5th 2016, 12:01 megan hey guys - https://twitter.com/BlackHatMario/status/783630068178452480 its the book but I cant replicate - any ideas on what could be going on/how to help
# Oct 5th 2016, 11:30 dakota https://gist.github.com/dakota/b1ce9c422eb9f2921742250431b5c639
# Oct 5th 2016, 11:27 birdy247 where do you do this in nginx
# Oct 5th 2016, 11:27 birdy247 dakota
# Oct 5th 2016, 11:20 dakota Donâ??t use apache, so ¯\_(ã??)_/¯
# Oct 5th 2016, 11:14 birdy247 ServerAdmin www.example.co.uk DocumentRoot /var/www/example.co.uk/webroot
# Oct 5th 2016, 11:14 birdy247 but that would prob cause a loop right?
# Oct 5th 2016, 11:13 birdy247 execpt https ;)
# Oct 5th 2016, 11:13 birdy247 Redirect permanent / http://www.example.com/
# Oct 5th 2016, 11:13 birdy247 so I am thinking in there?
# Oct 5th 2016, 11:13 birdy247 lets encyrpt makes a seperate SSL host file
# Oct 5th 2016, 11:12 birdy247 Where do you do that?
# Oct 5th 2016, 11:12 Neon1024 We too redirect all traffic to https://example.com
# Oct 5th 2016, 11:12 Neon1024 My colleague Dan uses Letsencrypt
# Oct 5th 2016, 11:04 birdy247 Did you have to change the virtual hosts files
# Oct 5th 2016, 11:04 birdy247 you are using lets encrypt i seem to remember
# Oct 5th 2016, 11:03 dakota I always redirect to https://domain.com
# Oct 5th 2016, 11:03 birdy247 on in the SSL virtual hosts file
# Oct 5th 2016, 11:03 birdy247 In the non SSL virtual hosts file
# Oct 5th 2016, 11:02 birdy247 2) Where should I add the redirect?
# Oct 5th 2016, 11:02 birdy247 1) Is that a good idea? - I always thought so from a SEO perspective
# Oct 5th 2016, 11:01 birdy247 I had previously redirected al www.domain.com traffic
# Oct 5th 2016, 11:01 birdy247 except my site is accessible by www.domain.com
# Oct 5th 2016, 11:01 birdy247 all works great
# Oct 5th 2016, 11:01 birdy247 and the installation
# Oct 5th 2016, 11:01 birdy247 I followed the setup
# Oct 5th 2016, 11:00 birdy247 is anyone else using letsencrypt?
# Oct 5th 2016, 10:12 crazycoder can i catch all the event of Model.afterSave? or should i add a callback for Table1.afterSave Table2.afterSave
# Oct 5th 2016, 10:08 crazycoder in a listener..then specify the login inside this listener without adding code inside each afterSave
# Oct 5th 2016, 10:08 crazycoder i mean... should i add the event Model.afterSave
# Oct 5th 2016, 10:08 crazycoder guys i need to listen to many table (afterSave) my question is....should i add a call inside each afterSave....or can i detect them outside ?
# Oct 5th 2016, 10:07 crazycoder hello
# Oct 5th 2016, 10:05 wouter0100 gpapkala, hmm. Seems to make sense, thanks!
# Oct 5th 2016, 09:57 gpapkala I might be speaking to much of cake2 - so please anyone correct me if I am wrong :slightly_smiling_face:
# Oct 5th 2016, 09:57 gpapkala so you can split in into hasMany relations from both sides orders hasMany orderProduct and products hasMany orderProduct and the join table can be itâ??s own entity then (with belongsTo relations to orders and products)