1 Star 0 Fork 0

胖子AK / ec-cube

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.htaccess.sample 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
DirectoryIndex index.php index.html .ht
<FilesMatch "^composer|^autoload|^cli-config|^COPYING|\.(ini|lock|dist|git|sh|bak|swp)$">
order allow,deny
deny from all
</FilesMatch>
<Files ~ "index.php|index_dev.php">
order deny,allow
allow from all
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
# Authorization ヘッダが取得できない環境への対応
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
# さくらのレンタルサーバでサイトへのアクセスをSSL経由に制限する場合の対応
# RewriteCond %{HTTP:x-sakura-forwarded-for} !^$
# RewriteRule ^(.*) - [E=HTTPS:on]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !^(.*)\.(gif|png|jpe?g|css|ico|js|svg)$ [NC]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
# 管理画面へのBasic認証サンプル
#
# Satisfy Any
#
# AuthType Basic
# AuthName "Please enter username and password"
# AuthUserFile /path/to/.htpasswd
# AuthGroupFile /dev/null
# require valid-user
#
# SetEnvIf Request_URI "^/admin" admin_path # ^/adminは, 管理画面URLに応じて変更してください
# Order Allow,Deny
# Allow from all
# Deny from env=admin_path
1
https://gitee.com/dokak47/ec-cube.git
git@gitee.com:dokak47/ec-cube.git
dokak47
ec-cube
ec-cube
3.0

搜索帮助