我正在尝试在 Roundcubemail 的 compose.html 文件中添加 php 代码。我的 .htaccess 文件与 compose.html 位于同一目录中,如下所示:
AddType application/x-httpd-php .html
我还准备httpd.conf
了几行文件,/etc/httpd/conf/httpd.conf
这里需要的是:
LoadModule rewrite_module modules/mod_rewrite.so
AllowOverride All
AddType application/x-httpd-php .html
我也试过重启httpd
服务。但是仍然没有在 compose.html 文件中执行 php 代码。有人可以帮我解决这个问题吗?