I think his backend is with 'no_script_name' on

On Fri, Sep 18, 2009 at 14:30, Eno <symb...@gmail.com> wrote:

>
> On Fri, 18 Sep 2009, mini_alexander wrote:
>
> > Sid - yes you good understand me.
> > url_for("users/index") in forms works.
> > But in links I also don't need to add '/backend.php' at the
> > beginning ?
> >
> > So why when I have url in browser:
> http://localhost/backend.php/profile/index
> > And click on the link: <a href="profile/change_avatar" >
> > I see in url of browser second time word 'profile':
> > http://localhost/backend.php/profile/profile/change_avatar
> > It should be: http://localhost/backend.php/profile/change_avatar
> >
> > ?? Why ??
>
> Remember you can't have more than one controller in a directory. Usually
> index.php is your default application and your .htaccess rules redirect to
> that controller by default. But mod-rewrite knows nothing about your
> routing in your application so it can't selectively route to your backend
> controller.
>
> You could of course, but your backend controller in its own folder with
> its own .htaccess file - that might look better.
>
>
>
> --
>
>
>
> >
>


-- 
Sidney G B Ferreira
Desenvolvedor Web

--~--~---------~--~----~------------~-------~--~----~
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