どのようにあなたのApacheにincludeファイル解析とshtmlの関連構成をサポートさせますか?
1083 ワード
ソースアドレス:http://www.itokit.com/2011/0430/65992.html
Apache include shtml Apache httpd.conf
1. include.so , :
LoadModule include_module libexec/apache2/mod_include.so
2. AddType :
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
3. Directory
Options Indexes FollowSymLinks
Includes :
Options Indexes FollowSymLinks Includes
4. Apache, :
<!–#include file=”head.html”–>
Holle Word!,
<!–#include file=”foot.html”–>