1 Star 1 Fork 0

SwhGo_oN/regexr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.htaccess 699 Bytes
一键复制 编辑 原始数据 按行查看 历史
Wes Gorgichuk 提交于 2017-06-27 08:38 .
# www to non-www
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# Handle deep links
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . / [L]
RewriteRule (.+)\.md /
# Font handling
AddType 'application/x-font-woff' .woff
# HTTPS to HTTP
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# BEGIN GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/json application/javascript application/x-font-woff application/octet-stream
</ifmodule>
# END GZIP
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/soxgoon/regexr.git
git@gitee.com:soxgoon/regexr.git
soxgoon
regexr
regexr
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385