Apache MAMP VHOST在重新启动后停止工作

Apache MAMP VHOST在重新启动后停止工作,apache,mamp,vhosts,Apache,Mamp,Vhosts,我已经使用MAMP很长时间了,直到本周为止,一切都相当顺利。我已经浏览了SO和google(内部和外部),但我一辈子都不明白为什么在重新启动计算机进行更新后突然无法访问我的网站 没有任何变化,我的主机和httpd-vhosts.conf文件中仍然有专有名称。 有没有人突然停止和妈妈一起工作?这让我快发疯了 <VirtualHost *> DocumentRoot "/Applications/MAMP/htdocs/hoh/public/" ServerName hoh.local

我已经使用MAMP很长时间了,直到本周为止,一切都相当顺利。我已经浏览了SO和google(内部和外部),但我一辈子都不明白为什么在重新启动计算机进行更新后突然无法访问我的网站

没有任何变化,我的主机和httpd-vhosts.conf文件中仍然有专有名称。 有没有人突然停止和妈妈一起工作?这让我快发疯了

<VirtualHost *>
DocumentRoot "/Applications/MAMP/htdocs/hoh/public/"
ServerName hoh.local
</VirtualHost>
今天早些时候,我实际上正在开发的网站是hoh.local(它是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

问:日志上写的是什么???不是真正的服务器人员,所以我甚至没有想到这一点,但我附上了apache日志:)
[client::1]客户端被服务器配置拒绝:/Applications/MAMP/htdocs/.DS\u Store,推荐人:http://localhost:8888/MAMP/?language=English
您正在通过ipv6协议访问它,但根据服务器配置,您被拒绝访问它。你真的想通过
hoh.local
访问它吗?因为我看不到在referer字符串中使用了
localhost
。它还显示端口
8888
,而不是
80
。通过nestat检查apache正在侦听的端口。控制台
netstat-ptcp
中的类似内容感谢您的评论!我删除了*:80,所以现在它只是*,因为我的phpmyadmin需要8888才能工作。但是,还是不行。另外,这些是netstat中的localhost结果:tcp4 0 0 localhost.26164 localhost.49725已建立tcp4 0 0 localhost.49725 localhost.26164已建立
[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