Kohana_3
思途cms
.htaccess index.php隐藏
最后一行:

RewriteRule .* index.php/$0 [PT]
替换成
RewriteRule (.*) index.php [QSA,L,E=PATH_INFO:/$1]

# Turn on URL rewriting
RewriteEngine On

# Installation directory
RewriteBase /
#mobile start
RewriteCond %{HTTP_HOST} ^117.78.49.173$
RewriteCond %{REQUEST_URI} !^/uploads/ 
 RewriteRule (.*) /phone/$1 [L]
#mobile end
RewriteRule ^(uploads/.*?_(\d+)x(\d+)\.(jpg|gif|png|jpeg))$ /index.php/images/index?file=$1&w=$2&h=$3&type=$4 [L,NC]

RewriteCond %{HTTP_HOST} ^gl.zhihuixlf.com/ [NC]
RewriteRule ^(.*)$ http://gl.zhihuixlf.com/$1 [L,R=301]

# Protect hidden files from being viewed
<Files .*>
	Order Deny,Allow
	Deny From All
</Files>


# Protect application and system files from being viewed
RewriteRule ^(?:v5|modules|system)\b.* index.php/$0 [L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/(uploads|public|newtravel|phone|payment|plugins)(/)?
#RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
#RewriteRule .* index.php/$0 [PT]
RewriteRule (.*) index.php [QSA,L,E=PATH_INFO:/$1]