I am trying to transfer my codes from localhost to a live domain. The directory of the server is like this:
-www.example.com
--app
--cake
--vendors
--plugins
-- phpMyAdmin
-- htaccess
Since cakephp deals with the URL, when i try to access http://www.example.com/phpMyAdmin, cakephp complains that “PhpmyAdminController could not be found”. I tried to change the htaccess in the app/webroot/htaccess to allow url of phpMyAdmin but it does not work. Can someone help?
I followed the tutorial from the following website: http://cakebaker.42dh.com/2006/08/17/take-over-the-control-of-some-urls-from-cakephp/. However i changed the htaccess in the webroot folder rather than the main folder.
I am really hoping for someone to help.
You can do it by modifying the
.htaccessfile which is located outside app folder.Please try with this. I’m using this particular code and its working for me.
Now you’ll be able to run a directory like this
http://example.com/phpmyadmin