【发布时间】:2015-05-10 01:00:12
【问题描述】:
我已经安装了 Phalcon 并使用以下方法创建了一个新项目:
$ phalcon project Prestige
当我转到 localhost/~Bartek/Prestige 时,我收到此错误:
Not Found
The requested URL /Users/Bartek/Sites/Prestige/public/ was not found on this server.
...但是,public/ 目录存在。
我使用的是 2014 年底的 Macbook Pro。我使用的是预装的 PHP 5.5 和 Apache2。我已经从homebrew 安装了 Phalcon。 mod_rewrite 已启用,正如我在 phpinfo() 中看到的那样。
我的Bartek.conf 文件:
<Directory "/Users/Bartek/Sites/">
AllowOverride All
Options Indexes FollowSymLinks MultiViews
Require all granted
Order allow,deny
Allow from all
</Directory>
【问题讨论】:
标签: php apache mod-rewrite phalcon