ORACLE入门之APACHE WEB SERVER管理

发表于:2007-06-22来源:作者:点击数: 标签:
1.查看当前 UNIX 环境下有无运行Apache Web Server 在终端控制台上运行#ps -ef|grep httpd 如果运行了,会列出一些包含路径信息的进程;去这个路径下找httpd.conf即可知 服务器 的配置。 2.启动和关闭Apache Web Server 在运行Apache/bin路径下找到apachectl

   
  1.查看当前UNIX环境下有无运行Apache Web Server
  在终端控制台上运行#ps -ef|grep httpd
  如果运行了,会列出一些包含路径信息的进程;去这个路径下找httpd.conf即可知服务器的配置。
  2.启动和关闭Apache Web Server

  在运行Apache/bin路径下找到apachectl命令
  #apachectl start
  #apachectl stop
  3.httpd.conf参数介绍:
  a.知道WEB的管理目录位置
  找到: ServerRoot "/../..."
  b.知道WEB的根目录位置
  找到: DocumentRoot "/../..."
  c.知道WEB各虚拟路径的映射
  Alias /icons/ "/opt/www/icons"
  ..........
  ScriptAlias /cgi-bin/ "opt/www/cgi-bin"
  ..........
  d.支持SSI
  在
  增加Option +Includes +ExecCGI
  (其它参数说明:Indexes 容许路径下的目录浏览         FollowSymlinks 容许使用符号连接,连到别处
  MultiViews 找相似的文件名)
  去掉加注释的以下语句:
  AddType text/html .shtml
  AddHander server-parsed .shtml
  (如果想使htm文件支持SSI,增加以下语句
  AddType text/html .htm
  AddHander server-parsed .htm
  )
  
  5.支持CGI
  去掉加注释的以下语句:
  AddHandler cgi-script .pl
  AddHander cgi-script .cgi
  
  6.初始的文件名
  DirectoryIndex  index.html
  (如果想增加别的类别文件,只需在这后面增加index.htm或index.php即可)
  7.性能优化
  MaxKeepAliveRequests 1024
  MaxClient 256
   ORACLE入门之APACHE WEB SERVER管理(图一)
点击查看大图

  ORACLE入门之APACHE WEB SERVER管理(图二)
点击查看大图

原文转自:http://www.ltesting.net