Chinaunix首页 | 论坛 | 博客
  • 博客访问: 424570
  • 博文数量: 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博客
  • 博客访问: 424571
  • 博文数量: 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博客
  • 博客访问: 424572
  • 博文数量: 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博客
  • 博客访问: 424563
  • 博文数量: 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博客
  • 博客访问: 424574
  • 博文数量: 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博客
  • 博客访问: 424575
  • 博文数量: 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博客
  • 博客访问: 424576
  • 博文数量: 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博客
  • 博客访问: 424577
  • 博文数量: 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博客
  • 博客访问: 424578
  • 博文数量: 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博客
  • 博客访问: 424579
  • 博文数量: 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博客
  • 博客访问: 424580
  • 博文数量: 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博客
  • 博客访问: 424581
  • 博文数量: 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博客
  • 博客访问: 424582
  • 博文数量: 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博客
  • 博客访问: 424583
  • 博文数量: 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博客
  • 博客访问: 424584
  • 博文数量: 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博客
  • 博客访问: 424585
  • 博文数量: 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博客
  • 博客访问: 424586
  • 博文数量: 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博客
  • 博客访问: 424587
  • 博文数量: 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博客
  • 博客访问: 424578
  • 博文数量: 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博客
  • 博客访问: 424589
  • 博文数量: 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博客
  • 博客访问: 424590
  • 博文数量: 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博客
  • 博客访问: 424591
  • 博文数量: 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博客
  • 博客访问: 424592
  • 博文数量: 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博客
  • 博客访问: 424593
  • 博文数量: 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博客
  • 博客访问: 424594
  • 博文数量: 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博客
  • 博客访问: 424595
  • 博文数量: 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博客
  • 博客访问: 424596
  • 博文数量: 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博客
  • 博客访问: 424597
  • 博文数量: 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博客
  • 博客访问: 424598
  • 博文数量: 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博客
  • 博客访问: 424599
  • 博文数量: 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博客
  • 博客访问: 424600
  • 博文数量: 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博客
  • 博客访问: 424601
  • 博文数量: 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博客
  • 博客访问: 424602
  • 博文数量: 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博客
  • 博客访问: 424593
  • 博文数量: 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博客
  • 博客访问: 424604
  • 博文数量: 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博客
  • 博客访问: 424605
  • 博文数量: 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博客
  • 博客访问: 424606
  • 博文数量: 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博客
  • 博客访问: 424607
  • 博文数量: 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博客
  • 博客访问: 424608
  • 博文数量: 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博客
  • 博客访问: 424609
  • 博文数量: 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博客
  • 博客访问: 424610
  • 博文数量: 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博客
  • 博客访问: 424611
  • 博文数量: 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博客
  • 博客访问: 424612
  • 博文数量: 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博客
  • 博客访问: 424613
  • 博文数量: 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博客
  • 博客访问: 424614
  • 博文数量: 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博客
  • 博客访问: 424615
  • 博文数量: 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博客
  • 博客访问: 424616
  • 博文数量: 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博客
  • 博客访问: 424617
  • 博文数量: 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博客
  • 博客访问: 424608
  • 博文数量: 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博客
  • 博客访问: 424619
  • 博文数量: 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博客
  • 博客访问: 424620
  • 博文数量: 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博客
  • 博客访问: 424621
  • 博文数量: 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
    


         
          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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

          Wednesday, 26-Jun-2024 18:49:12 CST
    

3 SSI_Insert.html
    


          AREA3
         

    


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

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

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