删除 public/.htaccess public/nginx.htaccess git推送
This commit is contained in:
parent
da33dffa5a
commit
3b30467251
2
.gitignore
vendored
2
.gitignore
vendored
@ -14,3 +14,5 @@
|
|||||||
/public/static/home/dev
|
/public/static/home/dev
|
||||||
/public/static/home/oa
|
/public/static/home/oa
|
||||||
/config/database.php
|
/config/database.php
|
||||||
|
/public/.htaccess
|
||||||
|
/public/nginx.htaccess
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
<IfModule mod_rewrite.c>
|
|
||||||
Options +FollowSymlinks -Multiviews
|
|
||||||
RewriteEngine On
|
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
|
|
||||||
</IfModule>
|
|
@ -1,51 +0,0 @@
|
|||||||
#此文件为Nginx的伪静态文件 PHPCUSTOM官方网址:http://www.phpcustom.com http://www.lccee.com
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 将以下是301跳转设置,请自定修改为您的域名
|
|
||||||
if ($Host = 'xxx.com'){
|
|
||||||
rewrite ^/(.*)$ http://www.phpcustom.com/$1 permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#以下为phpwind9.0伪静态规则,去掉下面的#即可生效
|
|
||||||
#------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# if (-f $request_filename) {
|
|
||||||
# break;
|
|
||||||
# }
|
|
||||||
# if ($request_filename ~* "\.(js|ico|gif|jpe?g|bmp|png|css)$") {
|
|
||||||
# break;
|
|
||||||
# }
|
|
||||||
# if (!-e $request_filename) {
|
|
||||||
# rewrite . /index.php last;
|
|
||||||
# }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 这个是ThinkPHP V5伪静态规则示例 请去掉以下代码前边的#号即可生效
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------
|
|
||||||
#if (!-e $request_filename) {
|
|
||||||
# rewrite ^(.*)$ /index.php?s=/$1 last;
|
|
||||||
# break;
|
|
||||||
# }
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user