将iMac升级到OSX High Sierra之后,即使完全重新配置Apache和phpMyAdmin,我的开发网站也无法访问。
此网站无法访问wonderfest.dev拒绝连接。尝试:
检查连接检查代理和防火墙 ERR_CONNECTION_REFUSED
我的/etc/apache2/extra/httpd-vhosts.conf文件内容:
<FilesMatch ".+\.html$">
SetHandler application/x-httpd-php
</FilesMatch>
<VirtualHost *:80>
DocumentRoot "/Library/WebServer/Documents"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/Ross/Sites/wonderfest"
ServerName wonderfest.dev
ErrorLog "/private/var/log/apache2/wonderfest.dev-error_log"
CustomLog "/private/var/log/apache2/wonderfest.dev.local-access_log" common
<Directory "/Users/Ross/Sites/wonderfest">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
我想我的问题归结为:为什么FF在所有情况下都能正常工作,而不是Safari&amp;铬?我启动了mySQL,phpMyAdmin工作正常。