# |
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 |
# |
Dec 5th 2017, 19:57 |
hmic |
saeideng: shouldnt it be /myapp/css/... only? |
# |
Dec 5th 2017, 19:56 |
saeideng |
Ok let me to config a domain like myapp.local |
# |
Dec 5th 2017, 19:55 |
inoas |
I never tried to bother with subdirs and cakephp :/ |
# |
Dec 5th 2017, 19:55 |
inoas |
why don't you setup a subdomain? |
# |
Dec 5th 2017, 19:55 |
saeideng |
any idea ? |
# |
Dec 5th 2017, 19:55 |
saeideng |
but any asset no |