我code同样的思路,在我的一个项目的所有PHP程序。是否有可能做到这一点的。htaccess的一个目录?而如何?
I code same lines all PHP programs at one of my projects. Is it possible to do this at .htaccess for a directory? And how?
PHP codeS:
PHP codes:
Header('Content-Type: application/xhtml+xml; charset=utf-8');
Header("Cache-Control: no-transform");
感谢任何帮助。 最好的问候。
Thanks any help. Best regards.
优素福阿克约尔
如果你想使用的.htaccess做到这一点(或Apache配置),你可以使用的