apache2 [warn] _default_ VirtualHost overlap on port 80, the first has precedence

2012-10-11 阅读 56

增加:

<pre class="brush:php;">    NameVirtualHost *:80
```
<p>
	同样:</p>
<pre class="brush:php;">    NameVirtualHost *:443
```
<p>
	注意:</p>
<pre class="brush:php;">    # If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
```

apache 配置

更新于 2023年03月28日