• DirectoryIndex index.php
  • *
  • RewriteEngine On
  • - - - RewriteCond %{REQUEST_FILENAME} templates/.*\.(?:php|phtml|info)$
  • RewriteCond %{REQUEST_FILENAME} images/.*\.php$
  • RewriteCond %{REQUEST_FILENAME} !-f
  • RewriteCond %{REQUEST_FILENAME} !-d
  • RewriteRule .* index.php/$0
  • *
  • 复制代码