Comment to 'rewrite_module - UNDEFINED'
  • Claudio Acosta If your VPS with TMD is running Nginx, then it will say Undefined. If it's running APACHE, then check to make sure these lines exist in your htaccess file.

    RewriteRule ^m/(.*)$ modules/index.php?r=$1 [QSA,L]

    RewriteRule ^page/(.*)$ page.php?i=$1 [QSA,L]

    RewriteRule ^s/([a-zA-Z0-9_]+)/([a-zA-Z0-9\.]+) storage.php?o=$1&f=$2 [QSA,L]

    If you don't see these rules, edit your .htaccess file to include them.