当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 原始文件:manual.ps.gz 文件叙述:阿帕奇HTT
 

 

    摘要: 在freebsd系统上配置apache web服务器,及其常用模块。 apache+mod_gzip+mod_perl+mod_php+modssl+mod_fastcgi+mysql 在磁盘上建立一个工作目录/ 列如:mkdir /www 1:到apache的网络站下载apache web server http://www.apache.org (目前版本是1.2.23) ......
    摘要: 方法一: 改path/to/apachesrc/src/include/httpd.h 中的#define server_baserevision "1.3.20"为你想要显示的版本--如10000然后在 configure时就会看到configuring for apache, version 10000 方法二: 补充一下 修改以下部分 可以得到“自己”的 web服务器 /pat......


阿帕奇 HTTP 服务器参考手册--老文档一篇

原始文件:manual.ps.gz 【程序编程相关:配置一个安全的chroot DNS

【推荐阅读:Apache服务器的安装教程

文件叙述:阿帕奇 http 服务器参考手册 【扩展信息:Apache服务器的安全性及实现

文件编号:lrg.ldtp.guide.002

翻译日期:1996/09/01

翻译维护:asdchen@ms1.hinet.net                                  

简体中文版维护:dfbb, fangh@bepc3.ihep.ac.cn

                             apache

                         an http server

                        reference manual

  @ david robinson and the apache group, 1995

  http://www.apache.org/

  保留所有权利.这个产品或文件受版权保护并且得在限制其用途,复制

  ,散播以及编辑的授权下散播.细节请参阅阿帕奇授权书.

  版权所有者不对这份手册的内容作任何保证及建议而且特别声明不保证

  符合任何商业目的.

  版权所有者保留修订这份手册的权利且其内容得依时变更而不必通知任

  何人这些修订与变更.

  all rights reserved. this product or documentation protected by

copyright and  is  distributed   under  licences   restricting  its  

use,copying,distribution and decompilation. see the apache licence 

for details.

  the copyright owner gives no warranties and makes no representations

about the contents  of  this manual  and  specifically  disclaims

warranties of merchantability of fitness for any purpose.

  the copyright owner  reserves  the right  to  revise this manual and

make changes from time to time in its contents without notifying any

person of such revision or changes.

  trademarks

  unix is a registered trademark of unix system laboratories, inc.

sun and sunos are trademarks of sun microsystems, inc. netscape is a

trademark of netscape  communications  corporation.  all other product 

names mentioned herein are trademarks of their respective owners.

  目录(contents)        (略)

  序(preface)

  这份手册是 1.0  版阿帕奇服务器(apache http server)的文件.这个

  服务器是阿帕奇计划的产品,此计划试图回应某些对积极发展一套可以

  免费取得之 http 服务器的关心.这个计划的目标是提供一个安全的,

  有效率的而且可以扩充功能的服务器,此服务器提供 http 服务且符合

  目前的 http 标准.

  这套阿帕奇 httpd  服务器的设计不但与 ncsa httpd 1.3 相容,并且

  提供常常有人要求的特色,像是

        .作为身分验认之用的 dbm  资料库

        .自定的(customised)错误与问题回应方式

        .多重的 directoryindex 指令

        .不限次数的 alias  以及 redirect 指令

        .以内容为基础的(content-based) 文件协商(negotiation)

        .虚拟服务器

  阿帕奇授权书

  copyright 1995 the apache group. all rights reserved.

  假若符合下列条件,无论是否经过修改,以原始程序及执行程序的形式

  散播与使用都是许可的:

  1.  散播原始程序码必须保留上述的版权告示,这份条件列表以及下列

      声明.

  2.  以执行程序码的形式散播必须在随附散播的文件以及/或是资讯中

      重现上述的版权告示,这份条件列表以及下列声明.

  3.  所有提及或使用这套软体特色的广告都必须显示下列讯息:

      `this product includes software developed by the apache group

for use in the apache http server project (http://www.apache.org/).

  4.  `apache server 以及 `apache group 这些名称没有随附前述的

      的许可不得用来为这套软体的衍生产品背书或鼓励采用.

  5.  以任何形式散播都必须保留下列讯息:

      `this product includes software developed by the apache group

for use in the apache http server project (http://www.apache.org/).

  redistribution and use in source and binary forms, with or without

  modification, are permitted provided that the following condictions

  are met:

  1. redistribution of source code must retain the above copyright

     notice, this list of condictions and the following disclaimer.

  2. redistribution in binary form must reproduce the above copyright

     notice, this list of condictions and the following disclaimer in

     the  documentation  and/or  other materials  provided  with  the

     distribution.

  3. all  advertising materials  mentioning features or use of this

     software must display the following acknowledge: `this product

     includes software developed by the apache group for use in the

     apache http server project (http://www.apache.org/).

  4. the names `apache server and `apache group must not be used to

     endorse or  prompt products  derived from  this software without

     prior written permission.

  5. redistribution of any form whatsoever must retain the following

     acknowledge: `this product  includes software  developed by the

     apache  group  for  use  in  the  apache  http  server  project

     (http://www.apache.org/).

  this software is provided by the apache group ``as is and any

expressed or implied warranties, including, but not limited to, the 

implied warranties of merchantability and fitness for a pariticular 

purpose are disclaimed.  in no event shall  the apache group or  its 

contributors be liable for any direct,indirect, incidetal, special, 

exemplary or consequential damages (including,but not limited to, 

procurement of substitute goods or services;loss of use, data or 

profits;  or business interruption) however caused and on any theory

  of  liability,  wherher in contract,  strict liability,  or tort

(including negligence or other wise)arising in any way out of the use 

of this software, even if advised of the possibility of such damage.

  this software  consists of  voluntary contributions made by many

individuals on behalf of  the apache group  and was originally  

based  on public domain software written at the national  center  

for  supercomputing applications, university of illinois, urbana-

champaign. for more information on the apache group and the apache 

http server project, please see http://www.apache.org/.

  第一章

  编译以及安装阿帕奇

  1.1   下载阿帕奇

  最新的阿帕奇资讯可以在阿帕奇网站 http://www.apache.org/ 找到.

  此处会列出目前发行的版本,任何更新的公开测试版,同时还有映射的

  (mirror)网站与匿名文件传输(ftp) 站之细节.

  1.2   编译阿帕奇

  这一版的阿帕奇支援所谓的‘选用性模组’.然而,为了使这些模组能

  有效率,此服务器必须知道哪些模组要编译进去;这需要产生一点短短

  的程序码(`modules.c) 单纯地列出它们.

  如果你满意我们的标准模组集,而且打算继续让它保持这样,那麽你可

  以直接编辑我们提供的 makefile 并且如同你以前作过的一样编译它.

  如果你想要使用选用性模组,那麽无论如何,你都得执行配置指令稿.

  这样做:

        1.  编辑 `configuration  这个文件.这里面包含每一种机器

            的 makefile 设定,而且在这底下还有个额外的节区列出要

            编译进去的模组,以及包含这些模组的文件名称,你将得:

              (a) 选择适合你机器的一种编译器以及编译选项.

              (b) 消掉相对於你想包含进去的模组上面的注解(文件底

                  端列出模组的那些行)或者加上对应你自己所撰写之

                  自制(custom)模组的一些新行.注意,如果你想要有

                  dbm 验认(auth)的话必须明确地配置进去;只要消掉

                  对应的行上面的注解即可.

        2.  执行 `configure  这个指令shell;

                  % configure

                  using `configuration as config file

                  %

            这会产生新版的 makefile 以及 modules.c  文件.如果你

            想要维护多个配置,那麽你可以这样,例如

                  % configure -file configuration.ai

                  using alternate config file configuration.ai

                  %

        3.  键入 `make

            我们放进阿帕奇发行套件里的模组是我们测试过而且有许多

            阿帕奇发展群成员使用的模组.这些成员或协力团体(third


...   下一页
 ·apachedso模式详解原理篇    »显示摘要«
    摘要: 作者:fei 那么dso究竟是什么?事实上dso是dynamic shared objects(动态共享目标)的缩写,它是现代unix派生出来的操作系统都存在着的一种动态连接机制。它提供了一种在运行时将特殊格式的代码,在程序运行需要时,将需要的部分从外存调入内存执行的方法。apache在1.3以后的版本后开始支持它。因为apache早就使用一个模块概念来扩展它的功能并且在内部使用一个基于调......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE