高分求助 wampserver 单ip多域名设置 在google浏览器只有前2个域名有效;在360浏览器只有第一个生效
Jun 23, 2016 pm 02:16 PM httpd-vhosts文件如下:
#mallpsi
NameVirtualHost *:80
DocumentRoot "D:/wamp531/www/mallpsi"
ServerName mallpsi.com
DirectoryIndex index.php
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
#ibmstyle
NameVirtualHost *:80
DocumentRoot "D:/wamp531/www/ibmstyle"
ServerName ibmstyle.com
DirectoryIndex index.php http://ibmstyle.com/index.php
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
#kuuqii
NameVirtualHost *:80
DocumentRoot "D:/wamp531/www/kuuqii"
ServerName kuuqii.com
DirectoryIndex index.php http://kuuqii.com/index.php
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
hosts文件如下:
127.0.0.1 kuuqii.com
127.0.0.1 mallpsi.com
127.0.0.1 ibmstyle.com
127.0.0.1 www.kuuqii.com
127.0.0.1 www.mallpsi.com
127.0.0.1 www.ibmstyle.com
127.0.0.1 localhost
回复讨论(解决方案)
有人解答吗?
虚拟主机的设置 与 浏览器毫无关系
无效的时候报什么错,贴个截图出来看看。
无效的时候报什么错,贴个截图出来看看。
不报错,就是不管输入哪个网址进入的都是第一个虚拟主机的网站
我也遇到了这个问题.... 没有发现哪里写错了 很不方便
有重启服务器吗?
重启了N多次

Heißer Artikel

Hot-Tools-Tags

Heißer Artikel

Heiße Artikel -Tags

Notepad++7.3.1
Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version
Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1
Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6
Visuelle Webentwicklungstools

SublimeText3 Mac-Version
Codebearbeitungssoftware auf Gottesniveau (SublimeText3)

Heiße Themen

11 beste PHP -URL -Shortener -Skripte (kostenlos und Premium)

Arbeiten mit Flash -Sitzungsdaten in Laravel

Erstellen Sie eine React -App mit einem Laravel -Back -Ende: Teil 2, reagieren

Vereinfachte HTTP -Reaktion verspottet in Laravel -Tests

Curl in PHP: So verwenden Sie die PHP -Curl -Erweiterung in REST -APIs

12 Beste PHP -Chat -Skripte auf Codecanyon
