Merge pull request #534 from dl6nm/mod_rewrite-sample

Add .htaccess sample file
这个提交包含在:
Peter Goodhall 2020-06-13 11:30:49 +01:00 提交者 GitHub
当前提交 547ec88e2a
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

8
.htaccess.sample 普通文件
查看文件

@ -0,0 +1,8 @@
# If you want to hide 'index.php' from the URL, rename this file to '.htaccess' on your server
# Then change the following variable in /application/config/config.php
# $config['index_page'] = '';
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]