botsArena/.htaccess

15 lines
432 B
ApacheConf
Raw Normal View History

2015-11-25 22:10:22 +01:00
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
2015-11-27 17:13:07 +01:00
#rewriterules
#urlrewritting
RewriteEngine On
RewriteBase /
2015-11-27 21:12:33 +01:00
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-z]{2})$ index.php?lang=$1 [L]
2015-11-27 17:13:07 +01:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^index.php$ index.php/ [L]