From c5a36b6e1a401ccb6b669eeffee2aab8a02515f7 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Sat, 21 Nov 2015 16:33:31 +0000 Subject: [PATCH] Add .htaccess file to example directory --- example/.htaccess | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 example/.htaccess diff --git a/example/.htaccess b/example/.htaccess new file mode 100644 index 000000000..0784bd220 --- /dev/null +++ b/example/.htaccess @@ -0,0 +1,12 @@ +# Note: see https://httpd.apache.org/docs/current/howto/htaccess.html: +# +# "You should avoid using .htaccess files completely if you have access to +# httpd main server config file. Using .htaccess files slows down your Apache +# http server. Any directive that you can include in a .htaccess file is +# better set in a Directory block, as it will have the same effect with +# better performance." + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^ index.php [QSA,L]