15 lines
432 B
ApacheConf
15 lines
432 B
ApacheConf
php_flag display_startup_errors on
|
|
php_flag display_errors on
|
|
php_flag html_errors on
|
|
|
|
#rewriterules
|
|
#urlrewritting
|
|
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-z]{2})$ index.php?lang=$1 [L]
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^index.php$ index.php/ [L]
|