Order allow,deny
Allow from all

<IfModule mod_rewrite.c>
  RewriteEngine on

# currently following block is disabled
# # Rewrite all php urls for index.php
#  RewriteCond %{REQUEST_FILENAME} \.php$
#  RewriteCond %{REQUEST_FILENAME} !\.(js\.php)$
#  RewriteCond %{REQUEST_FILENAME} !\.(i18n\.php)$
#  RewriteCond %{REQUEST_FILENAME} !index\.php$
#  RewriteRule .* index.php/$0

  # Rewrite URLs for login or dashboard
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteCond %{REQUEST_URI} !=/server-status
  RewriteCond %{REQUEST_URI} !^/-[\w@#$^*]+
  RewriteRule .* index.php/$0

  RewriteRule ^-([\w@#$^*]+)/?$ /urlmap.php?action=relay&urlmap_id=$1 [QSA,NC,L]

</IfModule>
