Ok, no_script_name was the answer to my problem :) So it's working now, thanks for the help !
On 22 juil, 18:42, Gábor Fási <maerl...@gmail.com> wrote: > Which was the first project you made, frontend or backend? The first > one gets to use index.php, the second one uses projectname.php, and > has no_script_name disabled by default. > > On Wed, Jul 22, 2009 at 16:20, Aurélien Lansmanne<ulyss...@gmail.com> wrote: > > > Hi, > > > I've recently tried my first application developped with Symfony, but > > I've run intro some trouble with the routing, as it doesn't work at > > all :/ > > > I've got two applications in my project : The backend that has been > > made with the admin generator, and an empty frontend ap, with nothing > > more inside. This is the backend routing.yml > > > -------------------------------------------------------- > > questions_questions: > > class: sfDoctrineRouteCollection > > options: > > model: Questions > > module: questions > > prefix_path: questions > > column: id > > with_wildcard_routes: true > > > boss_boss: > > class: sfDoctrineRouteCollection > > options: > > model: Boss > > module: boss > > prefix_path: boss > > column: id > > with_wildcard_routes: true > > > instance_instance: > > class: sfDoctrineRouteCollection > > options: > > model: Instance > > module: instance > > prefix_path: instance > > column: id > > with_wildcard_routes: true > > > # default rules > > homepage: > > url: /admin > > param: { module: main, action: index } : > > > ------------------------------------------------------------------ > > > If I browse to [http://sf.localhost/backend_dev.php/admin] everything > > works fine. I can see the main module (a welcome page with links). In > > my layout, I'm using links like > > > ---------------------------------------------------------------- > > <li><?php echo link_to('Accueil', '@homepage') ?></li> > > <li><?php echo link_to('Instances', '@instance_instance') ?></li> > > ----------------------------------------------------------------- > > And so the url become : [http://sf.localhost/backend_dev.php/ > > instance], etc.. > > > But if I choose to use the production controller, backend.php, all my > > links become : > > [http://sf.localhost/instance] > > [http://sf.localhost/]... > > etc... > > Followed by a "nice" > > -> The server returned a 404 response. > > > I'm a little lost, and have absolutly no idea how to fix this... :/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---