Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5939195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:47:32+00:00 2026-05-22T15:47:32+00:00

I have a symfony 1.4 application called client with a module device . Here

  • 0

I have a symfony 1.4 application called client with a module device. Here is part of the routing.yml file used in this application:

device_detail:
  url: /device/:device_name
  param: { module: device, action: show }

device_manage:
  url: /manage/:device_name
  param: { module: device, action: manage }

I can load the page http://example.com/client/device/jdoe without a problem. This page contains links generated using the link_to helper. For example,

link_to("Manage this device",  "manage/{$device_name}")

generates the URL http://example.com/client.php/manage/jdoe.

My question is: why does the link_to helper generate a URL containing the string client.php rather than simply client? It seems strange that the page address uses client but thelink_to changes that to client.php.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T15:47:33+00:00Added an answer on May 22, 2026 at 3:47 pm

    Check your application’s settings.yml file in apps/<YOURAPP>/config/settings.yml and adjust the no_script_name configuration flag accordingly for the respective environment. Clear your cache afterwards. Normally your dev mode would have no_script_name set to false, and your production would have it set to true.

    Example:

    prod:
      .settings:
        no_script_name: true
    
    dev:
      .settings:
        no_script_name: false
    

    Edit: As dxb points out, this is also only valid for a single application in your project. If you have multiple apps in the same project you want this to apply to, you’ll need to apply a prefix to routes (eg /admin), use a different domain/subdomain or similar solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a symfony 1.4 project with the single application frontend . This application
I have a symfony application with two different applications (frontend, backend) but there is
Let's say you have a situation where your Symfony application cannot get its database
I'm writing a web application in Symfony for the first time, so I have
I have a PHP web application developed using symfony framework. I want to call
I am developing a form in a Symfony application where a user must indicate
I have a symfony action that creates a mysqldump of the database : public
We have an application, which sells downloadable products. Scenario is: Add product to our
I've developed an application which uses the Symfony 2 framework. The application code resides
I recently got a job in a web newspaper. In the website, we have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.