[vz-dev] Rewrite Fehler?

Andreas Goetz cpuidle at gmail.com
Mon Feb 13 18:39:57 CET 2017


Habs gefunden:

entweder in /etc/mime.types oder in der httpd.conf muss ein MIME Type für php rein:

application/x-httpd-php                        phtml pht php

Falls nein gibts lustige und gleichzeitig unklare Fehlermedungen im Apache error log:

[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/volkszaehler.org/htdocs/middleware (None could be negotiated).

@justin: vielleicht magst Du das für Demo ja noch einrichten?

Viele Grüße, Andreas


> On 13 Feb 2017, at 18:18, Andreas Goetz <cpuidle at gmail.com> wrote:
> 
> Hallöchen,
> 
> laut .htaccess sollte es möglich sein die Middleware ohne .php aufzurufen:
> 
> http://demo.volkszaehler.org/middleware/channel.json <http://demo.volkszaehler.org/middleware/channel.json>
> 
> 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.
> 
> Habt ihr eine Idee woran das liegen könnte?
> 
> Viele Grüße, Andreas
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-dev/attachments/20170213/3d0be3ef/attachment.html>


More information about the volkszaehler-dev mailing list