0
你好,我創建了我的流浪者設置link。而服務器是了,我能設法去我example.com/web/app_dev.php/controller/...及其作品都很好,當我在我的app_dev.phpvagrant和symfony 2
// header('HTTP/1.0 403 Forbidden');
//exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
但發表評論時,我想去網站example.com/web/controller/....其顯示空白404錯誤可能是什麼問題? 我不使用127.0.0.1 insted的我從192.168.56.101設置
network:
private_network: 192.168.56.101
forwarded_port:
9DcLNVHGAeca:
host: '8889'
guest: '22'
我能做些什麼來解決這個deflaut使用?
好的,但爲什麼我有鏈接'web/example /'和'web/app_dev.php/example /'時404有效? – user2217288 2014-10-09 20:44:53
訪問'web/example'將訪問生產環境。確保按照[此處所述]正確部署生產模式(http://stackoverflow.com/a/9262632/1847340)。 – ferdynator 2014-10-09 20:50:14