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...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

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