diff options
author | Mamat Rahmat <coderbodoh@gmail.com> | 2017-10-09 09:18:52 +0200 |
---|---|---|
committer | Mamat Rahmat <coderbodoh@gmail.com> | 2017-10-09 09:18:52 +0200 |
commit | ea21f113733e914d5d0c950d5bfb5c5624368407 (patch) | |
tree | afe6e9b59f669afdb150cafceafbd1c622aec2e3 /user_guide_src/source/general/urls.rst | |
parent | 7298a788797ff64edaddb7ca65b21b6816757940 (diff) |
Fix broken .htaccess example code-block
- remove double colon before code-block
- change lexer into apacheconf
Fixes #5283
Signed-off-by: Mamat Rahmat <coderbodoh@gmail.com>
Diffstat (limited to 'user_guide_src/source/general/urls.rst')
-rw-r--r-- | user_guide_src/source/general/urls.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/general/urls.rst b/user_guide_src/source/general/urls.rst index e23554907..b8a1b9f5b 100644 --- a/user_guide_src/source/general/urls.rst +++ b/user_guide_src/source/general/urls.rst @@ -42,9 +42,9 @@ By default, the **index.php** file will be included in your URLs:: If your Apache server has *mod_rewrite* enabled, you can easily remove this file by using a .htaccess file with some simple rules. Here is an example of such a file, using the "negative" method in which everything is redirected -except the specified items:: +except the specified items: -.. code-block:: console +.. code-block:: apache RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f |