Monday, February 6, 2012

Apache mod_rewrite and AppController issues

I am having two problems, but they could be related.
I am just setting up cakephp 2.0 on a hostmonster isp account. The
helpful config page that cake defaults to shows everything is OK
except Apache mod_rewrite's 'pretty URLs' that are set up
in .htaccess. The site happily accepts them as input, i.e.
www.aerogamers.com/controller/action, but when it redirects, they come
out like www.aerogamers.com/cake_install/controller/action.
Problem two is that cake doesn't seem to acknowledge my
AppController in app/Controllers/. For instance, my UsersController
just can't seem to inherit from it.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: