【发布时间】:2013-09-30 18:15:33
【问题描述】:
我正在尝试在运行 XAMPP 的系统中的虚拟主机上安装 magento
到目前为止,我已经完成了以下操作:
在 windows/system32/driver/host 下的 hosts 文件中添加行
192.168.1.69 magento2.hue
192.168.1.69 www.magento2.hue
然后在 XAMPP 文件夹的 httpd-vhosts.conf 中添加代码
NameVirtualHost 192.168.1.69:80
<VirtualHost magento2.hue>
ServerAdmin magento2.hue
DocumentRoot "C:/www/mag_domain2/httpdocs/"
ServerName magento2.hue
ServerAlias www.magento2.hue
ErrorLog "C:/www/mag_domain2/httpdocs/error.log"
CustomLog "C:/www/mag_domain2/httpdocs/access.log" combined
<Directory "C:/www/mag_domain2/httpdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
重新启动 Apache 和 Mysql,但未加载站点,即 magento2.hue。
你能弄清楚我在这里做错了吗?
【问题讨论】:
-
先检查基本的东西,ping www.magento.hue。然后“telnet www.magento2.hue 80”让我知道结果。但是,我怀疑 Windows 防火墙会导致问题。
-
我已检查禁用防火墙,结果相同
-
还有其他测试,ping 和 telnet?