Apache 端口修改

WBOY
Release: 2016-06-23 13:51:57
Original
787 people have browsed it


php 我想修改 AppServ 下Apache 端口修改 把 F:\AppServ\Apache2.2\conf 中httpd.conf修改
把httpd.conf  中Listen 80 改成Listen 9000
把ServerName localhost:80 改成了 ServerName localhost:9000


回复讨论(解决方案)

恭喜LZ改成功...然后本帖的目的是?....

另 apache 可以同时监听多个端口。 

配置虚拟目录!

对的   呵呵  ls

对啊,本贴的目的是...

谢谢楼主,俺有学到了

楼主是来散分的?

呵呵,楼主幽默了。

重启会生效,

window下还有个配置测试工具,可以测试配置文件

然后重启apache,你就成功了啊

嗯,是啊,就这样改的

是不成功哦!重启apache也不可以哦, 配置虚拟目录是?????

错误提示什么?

改端口好像要改3处的,不过没用太久了都忘记怎样改了。

不用改那么多地方吧

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template