<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 28/02/2018 22:52, Maarten Andriessen
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1C511F474152CE409B69963A900B004B6583AA51@USIREXCHMBX0101.amer.world.local">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">This
is what we do…. Although I called it “files.company.com”
instead, just in case we ever decide to replace ZendTo with
a different product, or Jules ever decides to rename it. ;)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Your
internal DNS servers (I assume you have them) should do the
trick.<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"
moz-do-not-send="true"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a class="moz-txt-link-abbreviated" href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a> [<a class="moz-txt-link-freetext" href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>]
<b>On Behalf Of </b>Bocquet Stéphane<br>
<b>Sent:</b> Tuesday, February 27, 2018 6:34 AM<br>
<b>To:</b> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
<b>Subject:</b> Re: [ZendTo] Local install for external
users<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"
lang="FR">Hi François !<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"
lang="FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Why
don’t you use the same URL (<a
href="https://zento.mydomain.com" moz-do-not-send="true">https://zento.mydomain.com</a>)
for internal users ?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It
seems more secure to me, as if someone manage to connect to
your network by any ways (believe me, this thing happens,
even more if you have a Wi-Fi network!), he still cannot
listen to the IP traffic between the client and the server
to get some passwords for example… HTTP and port 80 must be
ban nowadays!<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">If
you are on a Debian/Ubuntu server, Apache conf files are in
/etc/apache2. For other Linux, It should be the same or
something near…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Anyway,
I think you have to configure 2 setup files in
/etc/apache2/sites-available<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console"">-rw-r--r-- 1 root root 1472 Feb 15 16:18
001-zendto.conf<span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Lucida
Console"">-rw-r--r-- 1 root root 3514 Feb 15 16:19
001-zendto-ssl.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Lucida
Console""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">And
make 2 links in ../site-enabled<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console"">lrwxrwxrwx 1 root root 34 Jan 9 15:26
<span style="color:#55FFFF">001-zendto.conf</span> ->
../sites-available/001-zendto.conf<span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Lucida
Console"">lrwxrwxrwx 1 root root 38 Jan 9 15:26
<span style="color:#55FFFF">001-zendto-ssl.conf</span> ->
../sites-available/001-zendto-ssl.conf</span></p>
</div>
</blockquote>
The links should be created using the "a2ensite" command. From what
I remember, you just need to:<br>
<br>
a2ensite 001-zendto<br>
a2ensite 001-zendto-ssl<br>
<br>
<blockquote type="cite"
cite="mid:1C511F474152CE409B69963A900B004B6583AA51@USIREXCHMBX0101.amer.world.local">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">ZendTo
installation scripts should have done that.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Just
check those two files if they seem correct to what you are
expecting.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">In
/etc/apache2/sites-available/001-zento.conf, you should have
something like this<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console""># This will force http to automatically
redirect to https.<span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console""> <IfModule mod_rewrite.c><span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console""> RewriteEngine On<span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console""> RewriteCond %{HTTPS} off<span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Lucida
Console""> RewriteRule (.*)
<a href="https://%25%7bHTTP_HOST%7d%25%7bREQUEST_URI%7d"
moz-do-not-send="true">https://%{HTTP_HOST}%{REQUEST_URI}</a><span
style="color:black;background:black;mso-highlight:black"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Lucida
Console"">
</span><span style="font-size:9.0pt;font-family:"Lucida
Console"" lang="FR"></IfModule></span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I
think that if you put this in comment, the two URL should
work, HTTP will not been redirected to HTTPS.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Personally,
I will not do that for security reasons, but you can try ;)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Stéphane<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="FR">De :</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="FR">
<a href="mailto:zendto-bounces@zend.to"
moz-do-not-send="true">zendto-bounces@zend.to</a> [<a
href="mailto:zendto-bounces@zend.to"
moz-do-not-send="true">mailto:zendto-bounces@zend.to</a>]
<b>De la part de</b> FT-news<br>
<b>Envoyé :</b> mardi 27 février 2018 14:45<br>
<b>À :</b> <a href="mailto:zendto@zend.to"
moz-do-not-send="true">zendto@zend.to</a><br>
<b>Objet :</b> [ZendTo] Local install for external users<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt" lang="FR">Hi all,<o:p></o:p></span></p>
<p><span style="font-size:10.0pt" lang="FR">Any advice on how to
setup apache so that the ZendTo server installed into the
local network will be reachable from the outside ?<o:p></o:p></span></p>
<p><span style="font-size:10.0pt" lang="FR">Internal users
should connect on zendto.mydomain.local (port 80) while
external users should connect on zendto.mydomain.com (on
port 443). Also, all generated links should target
zendto.mydomain.com.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt" lang="FR">I'm a bit confused
on wich apache settings to use.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt" lang="FR">Thanks for any
advice.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt" lang="FR">Francois<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'No more impressive warning can be given to those who would confine
knowledge and rsearch to what is apparently useful, than the
reflection that conic sections were studied for eighteen hundred
years merely as an abstract science, without regard to any utility
other than to satisfy the craving for knowledge on the part of
mathematicians, and that then at the end of this long period of
abstract study, they were found to be the necessary key with which
to attain the knowledge of the most important laws of nature.'
- Alfred North Whitehead
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</body>
</html>