Assuming your using Apache, I would simply create an alias like this:
Alias /phpmyadmin /usr/share/phpadmin
That way the request will be sent directly to the files in your shared
phpadmin folder by Apache, completely bypassing your ZF MVC application.
More on Alias: http://httpd.apache.org/docs/1.3/mod/mod_alias.html#alias
pat wrote:
Hi All,
I'm have a problem integrating phpmyadmin with my ZF site. Essentially
the MVC wants to route to a controller.
So that http://mydomain/phpmyadmin/ routes to 'phpmyadmin::index::index,'
Whereas, I would like to reroute to /usr/share/phpadmin/index.php. In
order to take advantage of the phpmyadmin goodness.
I'm not sure what the best answer is. How do you switch between
worlds? The MVC world and the world of old style i.e. non-controller
scripts.
Any thoughts on the subject would be appreciated.
cheers,
pat
--
Jack