We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d913773 + 9c5f7b1 commit e79fed6Copy full SHA for e79fed6
controller/error_pages.rst
@@ -184,12 +184,11 @@ automatically when installing ``symfony/framework-bundle``):
184
};
185
186
With this route added, you can use URLs like these to preview the *error* page
187
-for a given status code as HTML or for a given status code and format.
+for a given status code as HTML or for a given status code and format (you might
188
+need to replace ``http://localhost/`` by the host used in your local setup):
189
-.. code-block:: text
190
-
191
- http://localhost/index.php/_error/{statusCode}
192
- http://localhost/index.php/_error/{statusCode}.{format}
+* ``http://localhost/_error/{statusCode}`` for HTML
+* ``http://localhost/_error/{statusCode}.{format}`` for any other format
193
194
.. _overriding-non-html-error-output:
195
0 commit comments