简体   繁体   中英

Zend Framework Routing issues

I just got the Rob Allen's Album Rest tutorial working on my windows machine with sql server.

I can see all the albums show up on my screen. But when i click on the edit,delete,add links i get a "Not Found" error and it says

The requested URL /zf2-tutorial/public/album/edit/1 was not found on this server.

Am i doing something wrong here. My first guess is that i have not set vhosts, so it can be the problem. But this works just fine on my mac without any issues.

Also, as a little background. There is an IIS server running on port 80 and Zend server running on port 81.

Would this be an issue again ?

Fixed it, all i had to do was change AllowOverride None to AllowOverride All for .htaccess in my httpd.conf

http://framework.zend.com/manual/2.0/en/user-guide/overview.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM