Why is Apache executing .php.html files as PHP?

前端 未结 3 812
庸人自扰
庸人自扰 2020-12-21 05:56

I have an odd problem...I\'m using a documentation generator which generates a lot of output like docs/foo.php.html. It\'s XHTML, and thus contains

3条回答
  •  借酒劲吻你
    2020-12-21 06:31

    Are .html files listed as being allowed to be parsed as PHP? I've seen some shared hosts set .html files to be usable as a valid PHP extension which may also be catching your .php.html files.

提交回复
热议问题