我給些安裝提示你,您一步一步跟著做:
1)
user name 欄填入: gary〈-這里填入你自己的名稱
Organization 欄填入: 至尊科技〈-這里填入你自己的論壇名稱
2)域名欄輸入: localhost〈-這里必填localhost
服務(wù)器名稱輸入: localhost〈-這里必填localhost
管理員郵件地址輸入: 〈-這里填入你自己的電子郵件地址
3)改變安裝目錄為 c:/apache
4)完成安裝后在 開始----程序菜單(你的電腦左下角那里)
里會(huì)生成一個(gè)菜單Apache HTTP Server
里面還有幾個(gè)菜單,其中最重要的是前兩個(gè)。
按一下Configure Apache Server菜單下的”Edit the Apache httpd.conf
Configuration File“
這個(gè)時(shí)候會(huì)彈出一個(gè)文本文件(其實(shí)這個(gè)文件就在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)繼續(xù)編輯httpd.conf文件
查找
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
改為
# DirectoryIndex: Name of the f
ile or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.phtml
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex default.php
DirectoryIndex default.html
DirectoryIndex default.htm
</IfModule>