解决[warn] _default_ VirtualHost overlap on port 80, the first has precedence问题
On 解决 The has Default First 80 port
2023-09-27 14:24:31 时间
问题背景:
在apache的httpd.conf里新增加了1个VirtualHost,域名是xxx.com,此时,服务器总共2个VirtualHost ,service httpd restart的时候却出现了下面的警告提示:
[warn] _default_ VirtualHost overlap on port 80, the first has precedence
大概意思就是说后面新增加的这个VirtualHost 由于端口被占用,不能生效,沿用第一个虚拟主机的配置。
检查了一下,发现原来在httpd.conf里,我没有把#NameVirtualHost *:80前的注释去掉,导致这个没有生效。
解决方案:
去掉#NameVirtualHost *:80前面的#号,然后重启apache即可。
相关文章
- spark on yarn任务提交缓慢解决
- Resources are low on NN. Please add or free up more resources then turn off safe mode manually.
- ORA-00845 MEMORY_TARGET not supported on this system 的解决
- 解决tabix建索引报错[E::hts_idx_push] Unsorted positions on sequence #
- SQL学习之Can't connect to MySQL server on localhost (10061)
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- poj1942 Paths on a Grid 【排列组合】
- [pipenv]Warning: Python 3.7 was not found on your system…
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk"问题的解决
- OpenERP 中的on_change方法总结
- cURL POST command line on WINDOWS RESTful service
- 在电脑主机(MainFrame)中只需要按下主机的开机按钮(on()),即可调用其它硬件设备和软件的启动方法,如内存(Memory)的自检(check())、CPU的运行(run())、硬盘(Hard
- Finding out largest tables on MySQL Server
- 快速解决mysql Lost connection to MySQL server at 'reading initial communication packet及can't connect to mysql server on 'localhost'
- Calling LoadLibraryEx on ISAPI filter failed
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system.
- 解决Redis报错Redis is configured to save RDB snapshots, but it is currently not able to persist on disk
- Linux系统提示"No space left on device"解决方法
- 我的Android进阶之旅------>解决Error:Could not find property 'compile' on org.gradle.api.internal.artifacts.