Never mind, fixed it. Problem with my apache configuration, turns out rewrite wasn't working at all. If anyone stumbles across this later and needs a tip in setting up Apache, this ubuntu thread helped me out:
mod_rewrite - Ubuntu Forums
In my case, I had mod_rewrite turned off, but even after turning it on it wasn't working. I finally figured out that it was because I was running my ZF app in a subdirectory. So I had to edit my .htaccess so that the RewriteBase pointed to that directory, like so:
Code:
RewriteEngine on
RewriteBase /myapplication
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
Hope this helps someone.