# |
Dec 5th 2017, 20:13 |
saeideng |
:-) |
# |
Dec 5th 2017, 20:13 |
saeideng |
solved |
# |
Dec 5th 2017, 20:13 |
saeideng |
inoas thanks |
# |
Dec 5th 2017, 20:12 |
saeideng |
`<VirtualHost _default_:443>` |
# |
Dec 5th 2017, 20:11 |
inoas |
on your 443 port you have to have the same apache settings as on your 80 port |
# |
Dec 5th 2017, 20:11 |
inoas |
well maybe but that has then to do with virtualhosts |
# |
Dec 5th 2017, 20:11 |
inoas |
=> 404 -> not the ssl issue |
# |
Dec 5th 2017, 20:11 |
saeideng |
I no problem by non-ssl |
# |
Dec 5th 2017, 20:11 |
inoas |
=> ssl warning -> confirm exception |
# |
Dec 5th 2017, 20:11 |
inoas |
open the image asset in a new window |
# |
Dec 5th 2017, 20:10 |
inoas |
ssl would warn you |
# |
Dec 5th 2017, 20:10 |
inoas |
if it is 404 |
# |
Dec 5th 2017, 20:10 |
inoas |
doesnt sound like an ssl problem |
# |
Dec 5th 2017, 20:10 |
saeideng |
``` SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key ``` |
# |
Dec 5th 2017, 20:10 |
saeideng |
my config |
# |
Dec 5th 2017, 20:10 |
saeideng |
yes |
# |
Dec 5th 2017, 20:10 |
saeideng |
404 for any urls except main page |
# |
Dec 5th 2017, 20:09 |
inoas |
which? 404 on assets? |
# |
Dec 5th 2017, 20:08 |
saeideng |
is same result |
# |
Dec 5th 2017, 20:08 |
saeideng |
inoas I configure 'example.local` |
# |
Dec 5th 2017, 20:06 |
saeideng |
Cal I config valid/test ssl for local ? |
# |
Dec 5th 2017, 20:05 |
saeideng |
on local |
# |
Dec 5th 2017, 20:05 |
saeideng |
infact I no used valid ssl key |
# |
Dec 5th 2017, 20:04 |
saeideng |
I i can bypass by add exception ... |
# |
Dec 5th 2017, 20:04 |
saeideng |
Your connection is not secure |
# |
Dec 5th 2017, 20:04 |
saeideng |
main page says |
# |
Dec 5th 2017, 20:03 |
saeideng |
I guess I understand |
# |
Dec 5th 2017, 20:02 |
saeideng |
but for https just main page |
# |
Dec 5th 2017, 20:02 |
saeideng |
and assets yes |
# |
Dec 5th 2017, 20:02 |
maneken |
thanks hmic! any resources on xhr? |
# |
Dec 5th 2017, 20:02 |
saeideng |
above url woks on http:// |
# |
Dec 5th 2017, 20:01 |
saeideng |
hmic |
# |
Dec 5th 2017, 20:01 |
hmic |
you can use files too |
# |
Dec 5th 2017, 20:01 |
hmic |
you can pipe data in/out of a shell process, which is a convenient option - even binary safe |
# |
Dec 5th 2017, 20:00 |
hmic |
yes |
# |
Dec 5th 2017, 20:00 |
hmic |
your question is pretty unclear |
# |
Dec 5th 2017, 20:00 |
ivansosajigga |
i have a worker script which needs to hand off a json payload to CakePHP to be processed, but is it good practice to be feeding the json through shell CLI? |
# |
Dec 5th 2017, 20:00 |
ivansosajigga |
what's the best way of running cake php shell job or logic from cakephp models/ controllers from an outside app / php script? |
# |
Dec 5th 2017, 19:58 |
hmic |
it's a nobrainer really |
# |
Dec 5th 2017, 19:58 |
hmic |
but especially for development and localhost - best make use of bin/cake server |
# |
Dec 5th 2017, 19:57 |
hmic |
i'm working with subdirs all the time - no additional setup/tweaking neccessary on my side |