From 30f15f9317b5df49ebe880a423a317b045a495eb Mon Sep 17 00:00:00 2001 From: Master Yoda Date: Thu, 20 Jul 2017 04:58:16 -0700 Subject: Fix some mistakes in the user guide --- user_guide_src/source/general/urls.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'user_guide_src/source/general/urls.rst') diff --git a/user_guide_src/source/general/urls.rst b/user_guide_src/source/general/urls.rst index ca44e2f4c..b2b90ba39 100644 --- a/user_guide_src/source/general/urls.rst +++ b/user_guide_src/source/general/urls.rst @@ -42,13 +42,11 @@ 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:: RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} -f [OR] + RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteRule ^(.*)$ index.php/$1 [L] In the above example, any HTTP request other than those for existing -- cgit v1.2.3-24-g4f1b