Re: Routing to an external application

2007-07-17 Thread stefano
I've found somewere here in the group this rules too: RewriteEngine on RewriteRule phpMyAdmin/(.*) - [L] RewriteRule^$ app/webroot/[L] RewriteRule(.*) app/webroot/$1 [L] the - sign tell to Apache to not rewrite that url... I don't know very much the Apache's Rewr

Re: Routing to an external application

2007-07-17 Thread Ita
OK I solved the problem. couldn't find how to do it via routes.php so I searched the net for an hour and managed to do it via .htacess. For anyone who has the same problem: change the main .htaccess from: RewriteEngine on RewriteRule^$ app/webroot/[L] RewriteRule(.*) app/we

Routing to an external application

2007-07-17 Thread Ita
Hi, In my app I have several controllers. I wanted to create a friendly url for each registered user so I added this line to the routes.php Router::connect('/*', array('controller' => 'msgs', 'action' => 'getMsg')); before that I added a route line for each existing controller so that the /* will