Hi Lea. 

My guess is that symfony's routing is not responsible for this behaviour. AMOF, 
if your browser directs you to index.php or frontend_dev.php and if these files 
are well configured with some code like the following : 

        
require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
        $configuration = 
ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', false);

then there is no reason why you should display any page from any other 
application than the frontend one. 
I'd rather suspect some previous redirection, whether on your web server's 
initiative or after some directive found in the .htaccess, maybe a line like : 

        RewriteRule ^([^.]+)$ $1.php [QSA]

? 


-----Message d'origine-----
De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] De 
la part de Lea Haensenberger
Envoyé : mercredi 14 avril 2010 11:30
À : symfony users
Objet : [symfony-users] Strange Routing Behaviour

Hi all,
I have the following apps and module in my project:
apps and their modules:
- admin
- frontend
 - retailer
 - ...
- retailer
 - retailer
 - ...

The frontend app is the default app.
When I enter the url project.lo/retailer it goes to the retailer module in the 
retailer app. Shouldn't that go the the retailer module in the frontend app? 
The retailer module in the retailer app should be accessed with 
project.lo/retailer/retailer. Or am I wrong?
Can someone explain to me that behavior and tell me, how I can "fix"
it besides renaming the modules or the app?

Thanks!

Cheers,
Lea

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com To 
unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to