我给些安装提示你,您一步一步跟著做:
1)
user name 栏填入: gary〈-这里填入你自己的名称
Organization 栏填入: 至尊科技〈-这里填入你自己的论坛名称
2)域名栏输入: localhost〈-这里必填localhost
服务器名称输入: localhost〈-这里必填localhost
管理员邮件地址输入: gary@163.net 〈-这里填入你自己的电子邮件地址
3)改变安装目录为 c:/apache
4)完成安装后在 开始----程序菜单(你的电脑左下角那里)
里会生成一个菜单Apache HTTP Server
里面还有几个菜单,其中最重要的是前两个。
按一下Configure Apache Server菜单下的”Edit the Apache httpd.conf
Configuration File“
这个时候会弹出一个文本文件(其实这个文件就在c:/apache/conf目录下的httpd.conf文件)
5).编辑httpd.conf文件
查找
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost.
Your
# machine always knows itself by this address. If you use Apache strictly
for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName localhost
6)继续编辑httpd.conf文件
查找
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.html
改为
# DirectoryIndex: Name of the f
ile or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#