set a link to http from https

58 views
Skip to first unread message

Ivan Kolisnyk

unread,
Jun 14, 2015, 8:07:13 AM6/14/15
to mojol...@googlegroups.com
Hello everybody.
I'm developping CMS for web on Mojolicious. I have a problem with setting up a link from admin part under https protocol to client part under http protocol.
And inversely, from client part under http protocol to admin part under https protocol.
Thanks for the answer.

Daniel Mantovani

unread,
Jun 14, 2015, 3:46:25 PM6/14/15
to mojol...@googlegroups.com
in your controller should be like this:

$c->url_for()->.........->scehme('https')

Jan Henning Thorsen

unread,
Jun 17, 2015, 3:09:05 AM6/17/15
to mojol...@googlegroups.com, ivkol...@gmail.com
Out of curiosity, why don't you use HTTPS everywhere?

Alexey Stavrov

unread,
Jun 17, 2015, 12:36:30 PM6/17/15
to mojol...@googlegroups.com, ivkol...@gmail.com
For example, https proxy work more slowly then http proxy.

среда, 17 июня 2015 г., 12:09:05 UTC+5 пользователь Jan Henning Thorsen написал:
Reply all
Reply to author
Forward
0 new messages