<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Moin,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 2. Oct 2017, at 11:31, Frank Richter <<a href="mailto:frank.richter83@gmail.com" class="">frank.richter83@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Moin Udo,<div dir="auto" class=""><br class=""></div><div dir="auto" class="">möglicherweise musst du als DocumentRoot weiterhin /var/www/... angeben und dort per Symlink nach /home/pi weiterleiten. Daniel hatte das glaub ich schon vorbereitet.</div></div></div></blockquote><div><br class=""></div>Bei mir sieht das so aus:</div><div><br class=""></div><div><div><VirtualHost *:443></div><div>    ServerAdmin <a href="mailto:cpuidle@gmx.de" class="">cpuidle@gmx.de</a></div><div>    ServerName domain</div><div><br class=""></div><div>    DocumentRoot /var/www/<a href="http://volkszaehler.org/htdocs" class="">volkszaehler.org/htdocs</a></div><div>    <Directory /></div><div>       Options FollowSymLinks</div><div>       AllowOverride None</div><div>    </Directory></div><div><br class=""></div><div>    <Directory /var/www/></div><div>       Options Indexes FollowSymLinks MultiViews</div><div>       AllowOverride FileInfo Limit Options=All,MultiViews- Indexes Authconfig</div><div>       Order allow,deny</div><div>       allow from all</div><div>    </Directory></div><div><br class=""></div><div>    <Location "/ws"></div><div>      ProxyPass <a href="ws://localhost:8082" class="">ws://localhost:8082</a></div><div>    </Location></div><div><br class=""></div><div>    ErrorLog ${APACHE_LOG_DIR}/error.log</div><div>    CustomLog ${APACHE_LOG_DIR}/access.log combined</div><div><br class=""></div><div>    # Possible values include: debug, info, notice, warn, error, crit,</div><div>    # alert, emerg.</div><div>    LogLevel warn</div><div><br class=""></div><div>SSLCertificateFile /etc/letsencrypt/live/domain/fullchain.pem</div><div>SSLCertificateKeyFile /etc/letsencrypt/live/domain/privkey.pem</div><div>Include /etc/letsencrypt/options-ssl-apache.conf</div><div></VirtualHost></div><div><br class=""></div><div>Es ist also nicht notwendig die DocumentRoot unter /var/www zu lassen- das macht allerdings massiv Sinn falls auch PHPMyAdmin mit in das Image rein soll, sonst gibts dafür ja keine Heimat mehr.</div><div><br class=""></div><div>Viele Grüße, Andreas</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="auto" class=""><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Grüße</div><div dir="auto" class="">Frank</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">Am 02.10.2017 11:17 schrieb "Udo1" <<a href="mailto:udo1@gmx.net" target="_blank" class="">udo1@gmx.net</a>>:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am <a href="tel:02.10.2017" value="+492102017" target="_blank" class="">02.10.2017</a> um 10:59 schrieb Udo1:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hat aber funktioniert:<br class="">
</blockquote>
<br class="">
Nicht ganz. Nach dem Ausführen der install.sh habe ich die apache2/sites-enabled/000-defa<wbr class="">ult.conf editiert.<br class="">
Hinter DocumentRoot habe ich /home/pi/<a href="http://volkszaehler.org/htdocs/" rel="noreferrer" target="_blank" class="">volkszaehler.org/htdo<wbr class="">cs/</a> eingefügt.<br class="">
Nach restart von apache2 bekomme ich im Webbrowser:<br class="">
<br class="">
Forbidden<br class="">
<br class="">
You don't have permission to access / on this server.<br class="">
Apache/2.4.25 (Raspbian) Server at 192.168.178.116 Port 80<br class="">
<br class="">
<br class="">
Was habe ich falsch gemacht?<br class="">
<br class="">
Gruß<br class="">
Udo<br class="">
</blockquote></div></div>
</div></blockquote></div><br class=""></div></body></html>