(1)修改Apache端口号:
在安装路径下Apache Software Foundation/Apache2.2/conf下找到httpd.conf中找到Listen标记,可以看到默认是80,然后修改成自己想要修改。
(2)修改Apache首页名称:
在安装路径下Apache Software Foundation/Apache2.2/conf下找到httpd.conf中找到DirectoryIndex 标记
(3)修改端口后如何访问网站
在安装路径下Apache Software Foundation/Apache2.2/conf下找到httpd.conf中找到ServerName ,修改为
#ServerName 127.0.0.1:8083
转自http://home.itwotu.com/home.php?mod=space&uid=4&do=blog&id=42