2012-09-27 32 views
0

我只是在我的ec2映像中設置了一個燈管棧,現在我正試圖在其中使用ZendFramework 1.11.12。在EC2中使用ZendFramework時,在操作頁面上找不到頁面linux

所以這是我迄今所做的:

1. Go to /etc/httpd/conf/httpd.conf and change all 'AllowOverride None' to 'AllowOverride All'. Restart apache; 
2. Set up an alias for zend_tool: 'alias zf=/path/to/bin/zf.sh'. I use zf for it; 
3. Use 'zf create project xxx' to create a project. Here I can go to the Index controller by entering 'ipAddress/xxx'; 
4. Use 'zf create action test Index' to create a action called 'test' in the Index controller. And I failed on this step ... ... 

誰能告訴我,我缺少的是什麼?

預先感謝您:)

回答

0

只是錯過了URL虛擬部......沒關係。因此,Zend中url的語法如下所示:ipAdress/controller/action。在行動之前,我錯過了控制器。這解釋了答案。