我想在我的 Mac OSX Mavericks 中启动我的 apache 服务器。这是我所做的:
You don't have permission to access / on this server.
这是我的/etc/apache2/httpd.conf:(我在这里没有改变任何东西)
DocumentRoot "/Library/WebServer/Documents"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all </Directory>
<Directory "/Library/WebServer/Documents">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
任何人都可以建议可能是什么原因?谢谢
最佳答案
在特立独行中启动 apache 服务器的简单方法
执行此命令
sudo apachectl start
sudo apachectl stop
sudo apachectl restart
关于apache - 在 Mac OS X 10.9 (Mavericks) 中启动内置 Apache 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20026702/