Home > php教程 > php手册 > body text

Apache + php3在WIN98下的安装与配置

WBOY
Release: 2016-06-13 09:49:48
Original
729 people have browsed it

Apache+php3 在WIN98下的安装与配置
/software/apache_1_3_12_win32.exe
安装于c:apache
配置:httpd.conf
一、ServerType(服务器类型)
 standalone和inetd
二、ServerRoot(服务器根目录)
 ServerRoot “C:/apache"
三、port(服务器端口)
 可为80或8080,可以为任意数!
四、ServerAdmin(服务器管理员)
 服务器管理员的Email地址。如有错,会给服务器管理员自动发信。
五、Servername(名称)
 有效的计算机域名。
六、documentroot(文档主目录)
  默认的html主文档的地址。如documentroot "C:/apache/htdocs"
七、directoryindex(默认主文档)
 directoryindex index.htm index.htm index.php3
八、ScriptAlias(脚本别名)
 存放CGI程序的目录或URL 如:ScriptAlias /cgi-bin/"C:/apache/cgi-bin/"
九、addType
 对指定扩展名的文件建立特定的MIME类型(“text/html")
十、Directory
 在之间有五条指令:Options,AllowOverride,order,allow,deny.
 Options决定该目录下的所有文件采取什么样的操作,其值可为:none,all,indexs,includes,followSymlinks,ExecCGI,MultiViews.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!