<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?r=$1 [QSA,L]

RewriteRule ^ZhiCms/(.*)\.php$ - [F,L]
RewriteRule ^public/(.*)\.php$ - [F,L]
RewriteRule ^upload/(.*)\.php$ - [F,L]
RewriteRule ^data/(.*)\.php$ - [F,L]
</IfModule>
