From d6724fb0df982721c5913544696d4e071f356bf9 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Thu, 4 Jan 2018 22:08:42 -0700 Subject: [PATCH] Move .htaccess to public folder --- .htaccess => public/.htaccess | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) rename .htaccess => public/.htaccess (98%) diff --git a/.htaccess b/public/.htaccess similarity index 98% rename from .htaccess rename to public/.htaccess index f870186..584d833 100644 --- a/.htaccess +++ b/public/.htaccess @@ -1,13 +1,13 @@ -RewriteEngine On # Turn on the rewriting engine - -RewriteRule ^view/([0-9]+)/([0-9]+)/?$ index.php?dict=$1&word=$2 [NC,L] # Handle word ids. - -RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?dict=$1&word=$2 [NC,L] # Handle word ids. - -RewriteRule ^view/([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids. - -RewriteRule ^([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids. - -RewriteRule ^issues/?$ https://gitlab.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url. - -RewriteRule ^updates/?$ https://gitlab.com/Alamantus/Lexiconga/wikis/updates [R=301,L] # Shorten updates url. +RewriteEngine On # Turn on the rewriting engine + +RewriteRule ^view/([0-9]+)/([0-9]+)/?$ index.php?dict=$1&word=$2 [NC,L] # Handle word ids. + +RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?dict=$1&word=$2 [NC,L] # Handle word ids. + +RewriteRule ^view/([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids. + +RewriteRule ^([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids. + +RewriteRule ^issues/?$ https://gitlab.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url. + +RewriteRule ^updates/?$ https://gitlab.com/Alamantus/Lexiconga/wikis/updates [R=301,L] # Shorten updates url.