Improved router.inc (now called index.inc)

Note: config errmsg only applies to the file in which it is defined.
Else, falls back to global configuration (.htaccess)