windows apache2.4 web server

来源:互联网 发布:2002世界杯黑哨知乎 编辑:程序博客网 时间:2024/06/06 02:50

http://blog.csdn.net/lsyz0021/article/details/51998848


download  (httpd-2.4.25-x64-r1.zip)

upzip Apache24

modify Apache24\conf\httpd.conf

SRVROOT
Listenportnum

ServerName 192.168.1.104:8081

open cmd and go to Apache24\bin, then run
httpd.exe -k install
httpd.exe -k start
httpd.exe -k restart (for restart)


following can access the server:

http://localhost:8081

192.168.1.104:8081

http://192.168.1.104:8081


0 0