Under normal conditions, only one application can have no script in
the url, since all requests without a script would be directed to that
app via .htaccess setting.
One way around that is described here:
http://symfony-check.org/permalink/delete-backend-php-from-your-uri

Daniel


On Sep 6, 4:33 am, Shihab KB <shiha...@gmail.com> wrote:
> Thanks for your reply.
>
> no_script_name is already off in the application "restful"
>
> But in the frontend applicaton restful is on.
>
> regards
> Shihab
>
> On Sep 6, 3:55 pm, Arnold Ispan <ispanarn...@gmail.com> wrote:
>
> > Hello,
>
> > In your settings.yml file set
>
> > no_script_name:  off
>
> > this will remove the restful.php from your url
>
> > On Mon, Sep 6, 2010 at 1:38 PM, Shihab KB <shiha...@gmail.com> wrote:
> > > Hi Friends,
>
> > > I am creating a content management system using symfony 1.4. Also some
> > > rest apis to access the content management system data for some
> > > outside applications. By default symfony generates an application
> > > “frontend”. And I have created all my content management systems in
> > > it. Now I want to generate another application “restful” for rest
> > > aplis.
>
> > > My hierarchy is like below
>
> > > Project
> > > - Source Files
> > >   - apps
> > >      - frontend
> > >      - restful
>
> > > I can access the module in the frontend application like given below.
>
> > >http://localhost/restwebservice/module/Sports/sportbytitle
>
> > > And I am able to call the modules in the “restful” as given below.
>
> > > [url]http://localhost/restwebservice/restful.php/content[/url]
>
> > > But I want to avoid the “.php” from the url while exposing this to
> > > clients. How can I do this? Can somebody help me?
>
> > > Regards
> > > Shihab
>
> > > --
> > > 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<symfony-users%2bunsubscr...@goog­legroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en-Hide quoted text -
>
> > - Show quoted text -

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