<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="">Habs gefunden:<div class=""><br class=""></div><div class="">entweder in /etc/mime.types oder in der httpd.conf muss ein MIME Type für php rein:</div><div class=""><br class=""></div><div class=""><pre style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); word-wrap: normal; color: rgb(36, 39, 41);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;" class="">application/x-httpd-php                        phtml pht php</code></pre><div class=""><br class=""></div><div class="">Falls nein gibts lustige und gleichzeitig unklare Fehlermedungen im Apache error log:</div><div class=""><br class=""></div><div class=""><font face="Courier New" class="">[Mon Feb 13 18:31:49.287278 2017] [negotiation:error] [pid 30754] [client 192.168.0.27:51415] AH00687: Negotiation: discovered file(s) matching request: /var/www/<a href="http://volkszaehler.org/htdocs/middleware" class="">volkszaehler.org/htdocs/middleware</a> (None could be negotiated).</font></div><div class=""><br class=""></div><div class="">@justin: vielleicht magst Du das für Demo ja noch einrichten?</div></div><div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Feb 2017, at 18:18, Andreas Goetz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hallöchen,<div class=""><br class=""></div><div class="">laut .htaccess sollte es möglich sein die Middleware ohne .php aufzurufen:</div><div class=""><br class=""></div><div class=""><a href="http://demo.volkszaehler.org/middleware/channel.json" class="">http://demo.volkszaehler.org/middleware/channel.json</a></div><div class=""><br class=""></div><div class="">Bei mir lokal geht das auch, allerdings nicht auf Demo und auch nicht auf meinem Pi obwohl zumindest auf Letzterem mod_rewrite auch sicher aktiv ist.</div><div class=""><br class=""></div><div class="">Habt ihr eine Idee woran das liegen könnte?</div><div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>