HEX
Server: Apache/2.4.6 (CentOS) PHP/5.6.39
System: Linux izj6c6ukj0hyugxsgmuxz3z 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64
User: root (0)
PHP: 5.6.39
Disabled: NONE
Upload Files
File: /web/data/www.tbbprovision.com/.htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On

ErrorDocument 404 													/404.html
    #RewriteCond %{SERVER_PORT} !^443$
    #RewriteCond %{HTTP_HOST} !^.*admin.*$
    #RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]

#   RewriteCond %{HTTP_REFERER} !^http://www.aaa.com.*$ [NC]
#   RewriteRule .*.(jpg|jpeg|gif|png|bmp|rar|zip|exe)$http://www.baidu.com [R,NC,L]

#    RewriteCond %{HTTP_HOST} !^www\.(.*)
#    RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]

    # 如果访问的文件存在,则直接访问,不重定向
    RewriteCond %{REQUEST_FILENAME} !-f
    # 如果访问的目录存在,则直接访问,不重定向
    RewriteCond %{REQUEST_FILENAME} !-d

    # 如果访问的文件或目录不存在,则重定向所有请求
    # 到:index.php?url=<PARAMS>。
    # 例如:当我们请求<域名>item/index时,实际上是
    # 请求<域名>index.php?url=item/index,在PHP中
    # 用 GET['url'] 就能拿到字符串item/index

#    RewriteRule ^p-\S*-([0-9]+).html$         index.php/?product/detail/&proid=$1 [PT,L]
    RewriteRule ^(.*)          /index.php/$1 [PT,L]
#    RewriteRule ^(.*)$          index.php?url=$1 [PT,L]
</IfModule>