View Single Post
  #13 (permalink)  
Old 06-05-2008, 01:48 AM
cjh79 cjh79 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Default

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.

Last edited by cjh79 : 06-05-2008 at 02:13 AM.
Reply With Quote