逆向连接问题解决



eDong 果然不允许自己设置 .htaccess 这里这里查看详情

在一个 php 技术论坛上问了如何在 html 页面中 include php,答复中的多种方法都无效 这里查看详情

跑到 MT 的官方论坛上提问后得到了回答:修改 mt.cfg 文件中的 HTMLPerms 点这里查看详情

HTMLPerms
UploadPerms
In addition to controlling permissions via umask settings, you can also use the HTMLPerms and UploadPerms settings to control the default permissions for files created by the system (either as output files or uploaded files). The only real use of this is to turn on the executable bit of files created by the system–for example, if MT is generating PHP files that need to have the executable bit turned on, you could set HTMLPerms to 0777.
Default value: 0666

Example:
HTMLPerms 0777

然后让 MT 生成 php 而不是 html 文件,问题解决,Refer 2.1 能正常工作了

当然还是有点小不爽:文章都不是静态的 html 页面了~~

马上准备把在本机上修改好了的模板放上来,再把页面的编码设置成 UTF-8,这样的话兼容性会好一些~

5 Related Posts

  • No related posts
  • Leave a Reply