升级到Lion之后,我所有的虚拟主机都停止工作了。由于一些奇怪的原因,他们重定向到我设备上的apache主页面。
示例:
/etc/主机:127.0.0.1 myhost.com
<VirtualHost *:80>
DocumentRoot "/Library/WebServer/Documents/testproj/"
ServerName myhost.com
<Directory "/Library/WebServer/Documents/testproj/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "/private/var/log/apache2/testproj-error_log"
CustomLog "/private/var/log/apache2/testproj-access_log" common
</VirtualHost>还有其他人面临同样的问题吗?我怎么才能解决这个问题?
发布于 2012-04-23 14:08:33
看起来两个阿帕奇的在一起工作。家里的那个和马波特的那个..。移除macport apache修复了问题..。似乎我在修改apache配置,而这个配置不是运行在端口80上的
https://serverfault.com/questions/375712
复制相似问题