#unity/日常积累 解压这个压缩包,到一个文件夹 ![[Pasted image 20231226140914.png]] ![[Pasted image 20231226140940.png]] 打开这个目录的配置文件 ![[Pasted image 20231226141022.png]] 第39行,修改成对应路径,注意 \ 要换成 / ![[Pasted image 20231226141155.png]] 67行,默认是,80端口,不用修改 ![[Pasted image 20231226141459.png]] 来到bin文件夹 ![[Pasted image 20231226141527.png]] 运行可执行文件 ![[Pasted image 20231226141552.png]] 会提示443端口被占用,无法运行服务 ![[Pasted image 20231226141619.png]] 输入这个指令,可以查端口占用 ``` shell netstat -ano | findstr 443 ``` ![[Pasted image 20231226141728.png]] 来到这个文件夹,打开这个配置 httpd-ahssl.conf ![[Pasted image 20231226141819.png]] 第18行,修改一下监听端口,例如442 ![[Pasted image 20231226141843.png]] 因为输入指令,可以看到,442端口没有被占用 ![[Pasted image 20231226141916.png]] 保存修改,重新运行服务,正常了 ![[Pasted image 20231226141953.png]] 地址栏输入,页面正常打开 ``` localhost ``` ![[Pasted image 20231226142025.png]] 后续文件,需要放在这个htdocs文件夹,才可以通过链接访问,这个文件夹,也是在 httpd-ahssl.conf配置文件,写好的 ![[Pasted image 20231226160952.png]] ![[Pasted image 20231226161123.png]] 服务器xml结构参考 ``` xml ```