i2keita/mz_demo/master/.htaccess - Htaccess File

i2keita/mz_demo/master/.htaccess

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

#在网站的根目录(apache配置文件中指定的Document的目录,这里就是www/目录下)建立自己想要的404.html
ErrorDocument 404 /404.html

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache