.htaccess 324 B

12345678910111213
  1. Options +FollowSymLinks
  2. IndexIgnore */*
  3. RewriteEngine on
  4. # if a directory or a file exists, use it directly
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. # otherwise forward it to index.php
  8. RewriteRule . index.php
  9. # Handle Authorization Header
  10. SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
粤ICP备19079148号