Chinaunix首页 | 论坛 | 博客
  • 博客访问: 440875
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440876
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440877
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440868
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440879
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440880
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440881
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440882
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440883
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440884
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440885
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440886
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440887
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440888
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440889
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440890
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440891
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440892
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440883
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440894
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440895
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440896
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440897
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440898
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440899
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440900
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440901
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440902
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440903
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440904
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440905
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440906
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440907
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440898
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440909
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440910
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440911
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440912
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440913
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440914
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440915
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440916
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440917
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440918
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440919
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440920
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440921
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440922
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440913
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440924
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440925
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


          apache2.2 SSI-forward51-ChinaUnix博客
  • 博客访问: 440926
  • 博文数量: 75
  • 博客积分: 2780
  • 博客等级: 少校
  • 技术积分: 789
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 20:38
文章分类

全部博文(75)

文章存档

2012年(1)

2011年(11)

2010年(12)

2009年(39)

2008年(12)

我的朋友

分类: 系统运维

2009-03-20 13:01:44

○SSI说明:SSI(Server Side Include),通常称为服务器端嵌入,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。主要有以下几种用用途:
     1 显示服务器端环境变量<#echo>
     2 将文本内容直接插入到文档中<#include>
     3 显示WEB文档相关信息<#flastmod #fsize> (如文件制作日期/大小等)
     4 直接执行服务器上的各种程序<#exec>(如CGI或其他可执行程序)
     5 设置SSI信息显示格式<#config>(如文件制作日期/大小显示方式) 高级SSI可设置变量使用if条件语句。
     <注>以上内容来源:百度百科

○本应用要求:html中插入当前时间及另外一段html文本。

○Apache的安装和配置:SSI的应用需要安装ApacheServer,并且安装完成后需要修改其配置文件(这里以version2.2为例进行说明,默认安装路径为C:\Program Files\Apache Software Foundation\)
1 httpd.conf文件更新
・文件位置:\Apache2.2\conf\httpd.conf
・更新内容1:
     # First, we configure the "default" to be a very restrictive set of
     # features.  
     #
                       如果有虚拟主机,则虚拟主机路径下也需修改
         Options FollowSymLinks    →前加#改为注释
         AllowOverride All
         Order deny,allow             →前加#改为注释
         Deny from all                   →前加#改为注释
         Xbithack full                     →改为"Xbithack ON"
         Options Includes               →改为"Options +Includes"
    

・更新内容2:
    # The Options directive is both complicated and important. Please see
    #
    # for more information.
    #
    Options Indexes FollowSymLinks
    Options FollowSymLinks MultiViews Includes        →追加此行
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None                                              →改为"AllowOverride All"

・更新内容3:
     #
     # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
     # CGI directory exists, if you have that configured.
     #
    
         AllowOverride None        →改为"AllowOverride All"
         Options None
         Order allow,deny
         Allow from all
    

・更新内容4:
    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddType text/x-server-parsed .html        →追加此行

2 .htaccess文件做成
・文件位置:\Apache2.2
・文件内容:
     Options +Includes
     AddOutputFilter INCLUDES .shtml
     AddHandler server-parsed html
     AddType text/x-server-parsed-html .shtml .html .htm
・做成方法:由于windows不能作成只有文件后缀没有文件名的文件,所以可以先将上面的内容作成一个txt文件,如:htaccess.txt。然后进入cmd修改其文件名。重命名语句格式为:rename htaccess.txt .htaccess
・说明:由于本应用的要求是在html中插入文本,而不是在shtml中插入,所以.htaccess文件的配置是必不可少的。

3 重起Apache Server

○html做成
1 文件位置: \Apache2.2\htdocs

2 text.html
     SSI TEST
    


         
          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39321) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39320) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39319) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39318) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39317) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39316) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39315) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39314) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39313) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39312) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39311) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39310) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39309) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39308) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39307) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39306) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39305) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39304) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39303) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39302) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39301) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39300) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39299) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39298) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39297) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39296) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39295) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39294) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39293) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39292) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39291) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39290) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39289) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39288) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39287) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39286) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39285) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39284) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39283) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39282) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39281) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39280) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39279) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39278) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39277) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39276) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39275) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39274) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39273) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39272) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39271) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

          Monday, 24-Feb-2025 07:24:41 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


○html的执行:
1 使用IE访问localhost
     text.html

2 执行效果
     在test.html中插入了insert.html定义的背景色为#FFCC33的DIV和当前时刻

 
阅读(39270) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~