Assign File Extension to pages in Symfony

You can very easily assign file extension of your choice to pages in Symfony framework. Go to your modules's ./config/settings.xml file and assign page extension of your choice. If settings.yml page is not available then create it.

    no_script_name:         off
    suffix:                .html
    error_reporting:        4095
    web_debug:              on
    no_script_name:         off
    etag:                   off
    suffix:                .html          # file extension

You may remember that YML syntax does not allow tab.
Access your pages like web/yourApp_dev.php/yourModule/list.html (I referred to this example) .