2015-03-08 18 views
1

我已經安裝了爾康和利用創造了一個新的項目:爾康PHP無法找到公用文件夾

$ phalcon project Prestige

當我去localhost/~Bartek/Prestige,我得到這個錯誤:

Not Found 

The requested URL /Users/Bartek/Sites/Prestige/public/ was not found on this server. 

。但是,存在public/目錄。

我在Macbook Pro 2014年末。我正在使用預裝的PHP 5.5Apache2。我從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> 

回答

1

設置你的web目錄/Users/Bartek/Sites/Prestige/public/並轉到本地主機。

如果仍然無法檢查您的phalcon應用程序配置設置。