From cf6c459a0273cf10342491eb64ec20ddd2c76876 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 27 Nov 2015 22:36:04 +0100 Subject: [PATCH] fix regex --- html/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/.htaccess b/html/.htaccess index a560f4c..dd8169d 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -1,7 +1,7 @@ RewriteEngine On RewriteBase / -RewriteRule ^([a-zA-Z]*)-([a-z]{2})$ index\.php?arena=$1&lang=$2 [L] -RewriteRule ^([a-zA-Z]*)$ index\.php?arena=$1 [L] +RewriteRule ^([a-zA-Z]{1,})-([a-z]{2})$ index\.php?arena=$1&lang=$2 [L] +RewriteRule ^([a-zA-Z]{1,})$ index\.php?arena=$1 [L] RewriteRule ^-([a-z]{2})$ index\.php?lang=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d