RewriteEngine on
#RewriteCond $1 !^(index\.php|robots\.txt)
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
RewriteRule ^(.*)$ index.php/$1 [L]

#order deny,allow
#deny from all
#allow from 192
#allow from localhost
#allow from 127.0.0.1
#allow from 202.129.187.112
#allow from 180.243.34.40