IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wr...
4.5 mod_cgi 模组 这个模组包含在 mod_cgi.c 文件里,而且依预设会编译进来。它提供 CGI 指令稿的执行能力。任何 mime 型态为 application/x-httpd-cgi 的文件都将由这个模组处理。4.5.1 摘要 任何拥有 application/x-httpd-cgi 之 mime 型态的文件都会被当作 CGI 指令稿,而且由服务器执行,并把输出传回客户端。文件可以藉由 使用 AddType 指令所定义的副文件名,或是藉由放在 ScriptAlias 所 设定的目录来成为这种型态。当服务器...
UseCanonicalName directiveSyntax: UseCanonicalName on|off|dnsDefault: UseCanonicalName onContext: server config, virtual host, directoryOverride: OptionsCompatibility: UseCanonicalName is only available in Apache 1.3 and laterIn many situations Apache has to construct a self-referential URL. That is, a URL which refers back to the same server. With UseCanonicalName on (and in all versions prior to...
3.21 Port 指令 语法: Port 数字 预设: Port 80 用於: server config 状态: 核心 这个 Port 指令设定服务器监听的网路端口号。数字是 0 到 65535 的 一个数目;某些端口号(特别是低於 1024 的)保留给特殊的协定。参阅 /etc/services 里定义的一些端口的列表;标准 http 协定使用 80 端口。Port 80 是 Unix's 的一个特别端口。所有低於 1024 的端口号都是保留给 系统使用的,例如,一般使用者(non-root)不能使用它们;取而代之的 ...
directiveSyntax: ... Context: server config, virtual hostStatus: coreCompatibility: Location is only available in Apache 1.1 and later.The directive provides for access control by URL. It is similar to the directive, and starts a subsection which is terminated with a directive. sections are processed in the order they appear in the configuration file, after the sections and .htaccess files a...
第二章 启动阿帕奇 2.1 启动阿帕奇 httpd 这支程序可以藉由网际网路服务程序 inetd 在每一次有连线要 进入 HTTP 服务的时候启动,或者另一种方式,它也可以作为服务程序 (daemon)持续地执行,处理请求。无论选择哪一种方式,都必须设定这 个 ServerType 指令告诉服务器它要如何执行。2.2 命令列选项 下列选项可以用在 httpd 的命令列上: -d serverroot 把 ServerRoot 这个参数的起始值设定为 serverroot 。这可以 藉由在配置文件里...
一、使用软件: apache_2.0.52-win32-x86-no_ssl php-5.0.2-Win32 mysql-4.0.21-win phpMyAdmin-2.6.0 配置环境:Windows Xp sp2 二、具体步骤 注意事项:安装过程,任何目录和文件名都不要使用空格, 不要使用D:Program Files 而要使用D:ProgramFiles 1. apache_2.0.52-win32-x86-no_ssl apache服务器软件,我下载的是win版本,2.0系列的配置都是相似的。双击安装apache2.0.52,我把它安装到D:ApacheGroup 注意,目录名不要包含空格...
这是一个例子:NameVirtualHost 192.100.100.1ServerAdmin njzadmin@sina.comDocumentRoot /wwwrootServerName www.a.comErrorLog logs/a.com-error_logCustomlog logs/a-access_log commonServerAdmin sonymusic@china.comDocumentRoot /wwwroot2ServerName www.b.comErrorLog logs/b.com-error_logCustomLog logs/b.com-access_log common http://www.bkjia.com/PHPjc/629513.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/62...
这里参照的是Apache Server1_3_12_win32版本。ServerType standalone #设置服务器的形式是单独启动(standalone),还是借由互联网络伺服程序inetd来启动。一般使用前者。ServerRoot "d:/Apache" #设置服务器的Home目录,用来存放服务器的设置文件、错误文件、记录文件。PidFile logs/httpd.pid #程序启动时,把父进程httpd的进程号(process id)存在这个文件中。这个文件名可以配合PidFile指令加以改变。ScoreBoardFile logs/apa...
Apache服务器配置全攻略推荐:bamboo 发表日期:2001年1月9日 阅读次数:1949 Apache服务器的设置文件位于/usr/local/apache/conf/目录下,传统上使用三个配置文件httpd.conf,access.conf和srm.conf,来配置Apache服务器的行为。httpd.conf提供了最基本的服务器配置,是对守护程序httpd如何运行的技术描述;srm.conf是服务器的资源映射文件,告诉服务器各种文件的MIME类型,以及如何支持这些文件;access.conf用于配置服...
PidFile directiveSyntax: PidFile filenameDefault: PidFile logs/httpd.pidContext: server configStatus: coreThe PidFile directive sets the file to which the server records the process id of the daemon. If the filename does not begin with a slash (/) then it is assumed to be relative to the ServerRoot. The PidFile is only used in standalone mode.It is often useful to be able to send the server a sign...
本文作者:原奥索网用户 herodong OICQ:6678705 /* 孤狼:原文实在太大了,36K多。我选择重要部分贴上,如果需要原文可以MAILTO:wolflx@263.net我们的目标是安装一个允许我们托管多个网站的web服务器,其中一些是针对电子商务的安全解决方案,而大部分网站是通过连接一个数据库服务器并且提取其数据的脚本驱动的。为了这个任务所需的工具是: Apache-一个网站服务器 Mod_SSL-一个安全套接字层(SSL)的模块 OpenSSL-开放源代...
=============================================本文我已经测试通过了!=============================================题目:Windows2000 下整合Apache2与Tomcat4作者:robornet日期:2002-10-30原由:搞了一段时间的java项目,到分发的时候了,可找不到一份最新的Apache2与Tomcat4的整合配置,遂看了半天的jakarta在线资料,并参照以前网友的文章,写了这篇配置文档,以作参考,欢迎斧正!目录:一、软件准备二、软件安装三、首次...
ContentDigest directiveSyntax: ContentDigest on|offDefault: ContentDigest offContext: server config, virtual host, directory, .htaccessOverride: OptionsStatus: experimentalCompatibility: ContentDigest is only available in Apache 1.1 and laterThis directive enables the generation of Content-MD5 headers as defined in RFC1864 respectively RFC2068.MD5 is an algorithm for computing a "message digest" (...
5.1.2 AuthDBMUserFile 语法: AuthDBMUserFile 文件名称 用於: directory, .htaccess 需求: AuthConfig 状态: 扩充 模组: mod_auth_dbm AuthDBMUserFile 这个文件设定作为验认之用的 DBM 文件名称,其中 包含使用者与密码的列表。文件名称是该使用者文件的绝对路径。这个文件是以使用者名称作为关键。使用者後的值是 crypt() 加密过 的密码,其後可以加上选择性的冒号以及随意的资料。服务器将会忽略 这些冒号跟资料。安全: 确定 A...