您的位置:首页 > 理论基础 > 计算机网络

阿帕奇HTTP服务器下载与安装

2013-10-14 12:38 573 查看
1.进入http://httpd.apache.org/download.cgi#apache24,选择

Win32 Binary without crypto (no mod_ssl) (MSI Installer):httpd-2.2.25-win32-x86-no_ssl.msi
[PGP ] [MD5
] [SHA1 ]
下载。

 

2.安装

1)配置域名和端口



2)默认



 

3)选择安装路径



 

4)安装



 

5)安装过程中



 

中间会出来命令行的窗口,不管它。

6)安装完成



 

3.启动Apache service

在IE中输入127.0.0.1:80,测试:



 

 

 

4.修改DocumentRoot

有2个地方,在httpd.conf里配置,

一个是

DocumentRoot "D:/my program/Apache Software Foundation/Apache2.2/htdocs"

另外一个是

<Directory "D:/my program/Apache Software Foundation/Apache2.2/htdocs">

 

5.修改端口号,默认是80或者8080,只要能成功Listen就行。

6.更改配置后,要Restart service.

 

转载请证明原创链接:http://blog.csdn.net/wujunokay/article/details/12707259

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: