@@Tommy
ja, andere Anweisungen in .htaccess werden durchgeführt, fehlerhafte werden als Fehler erkannt
Dann musst du wohl mal beim Support deines Hosters nachfragen. Bei mir funktioniert AddHandler application/x-httpd-php .html
problemlos. (Nicht, dass man das so tun sollte – wie schon hier im Thread angesprochen.)
Hast du vielleicht ein Superbillig-Angebot gebucht, das kein PHP beïnhaltet und deshalb ist AddHandler application/x-httpd-php
gesperrt?
Warum ist dies weniger ineffizient, wenn die Datei *.php heißt?
Den Suffix .php
würdest du nur an diejenigen Dateien vergeben, die PHP-Code enthalten. Die anderen, die nicht durch den PHP-Interpreter gehen sollen, behalten die Endung .html
.
🖖 Live long and prosper
--
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14