我一直在使用MAMP很长一段时间,直到本周,一切都很好。我已经浏览了SO和谷歌(内部和外部),但我不能为我的生活弄清楚为什么我重新启动计算机进行更新后突然间我无法访问我的网站...
没有任何改变,我的主机和httpd-vhosts.conf文件中仍有正确的名称。 有没有人与MAMP的vhost突然停止一起工作?这让我很开心!
<VirtualHost *>
DocumentRoot "/Applications/MAMP/htdocs/hoh/public/"
ServerName hoh.local
</VirtualHost>
和hosts文件:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 hoh.local learning.dev mvc.dev
我今天早些时候正在努力工作的网站是hoh.local one(它是hoh.dev,但那也没有用,所以我改变了它,希望它能再次神奇地工作)。
Apache日志:
[Fri Oct 17 17:23:46 2014] [notice] FastCGI: process manager initialized (pid 6730)
[Fri Oct 17 17:23:46 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 17 17:23:46 2014] [notice] Digest: done
[Fri Oct 17 17:23:46 2014] [notice] Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.6.1 mod_ssl/2.2.29 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Fri Oct 17 17:29:40 2014] [notice] caught SIGTERM, shutting down
[Fri Oct 17 17:30:08 2014] [notice] FastCGI: process manager initialized (pid 380)
[Fri Oct 17 17:30:08 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 17 17:30:08 2014] [notice] Digest: done
[Fri Oct 17 17:30:08 2014] [notice] Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.6.1 mod_ssl/2.2.29 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Fri Oct 17 17:30:13 2014] [error] [client ::1] File does not exist: /Applications/MAMP/htdocs/docs-assets
[Fri Oct 17 18:01:47 2014] [error] [client ::1] File does not exist: /Applications/MAMP/htdocs/docs-assets
[Fri Oct 17 18:09:13 2014] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store, referer: http://localhost:8888/MAMP/?language=English
[Fri Oct 17 18:09:13 2014] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Fri Oct 17 18:12:16 2014] [notice] caught SIGTERM, shutting down
[Fri Oct 17 18:12:18 2014] [notice] FastCGI: process manager initialized (pid 1278)
[Fri Oct 17 18:12:18 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 17 18:12:18 2014] [notice] Digest: done
[Fri Oct 17 18:12:18 2014] [notice] Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.5.17 mod_ssl/2.2.29 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Fri Oct 17 18:12:21 2014] [notice] caught SIGTERM, shutting down
[Fri Oct 17 18:13:13 2014] [notice] FastCGI: process manager initialized (pid 1426)
[Fri Oct 17 18:13:13 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 17 18:13:13 2014] [notice] Digest: done
[Fri Oct 17 18:13:13 2014] [notice] Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.5.17 mod_ssl/2.2.29 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Fri Oct 17 18:15:45 2014] [notice] caught SIGTERM, shutting down
[Fri Oct 17 18:16:37 2014] [notice] FastCGI: process manager initialized (pid 1693)
[Fri Oct 17 18:16:37 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 17 18:16:37 2014] [notice] Digest: done
[Fri Oct 17 18:16:37 2014] [notice] Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.5.17 mod_ssl/2.2.29 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations