您现在的位置是:.htaccess实现https重定向
.htaccess实现https重定向
<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301] </IfModule>
随便看看
- PHP和数组有关的函数
- PHP将B转换为KB、MB、GB
- PHP校验18位身份证号码
- Linux配置NTP服务器ntp.conf
- 查看Linux服务器型号、序列号
- Linux服务器备份文件和数据库并上传到ftp
- postfix配置文件main.cf
- 清除单个用户的邮件队列postquene
- 查看Apache的并发请求数及其TCP连接状态
- PHP发送POST请求
- PHP利用fsockopen异步处理数据
- PHP函数header设置http状态码
- 判断是否微信浏览器(微信客户端)
- PHP读取Excel函数Spreadsheet_Excel_Reader
- 修改帝国CMS上传附件的命名方式(保留原文件名)
站长简介
分类
最新文章
热门文章
- 微信支付退款结果通知解密
- 到ICANN投诉三五互联获取域名转移密码成功
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- 微信html弹出点击右上角分享到朋友圈
- Apache禁用TRACE Method和添加X-frame-options响应头
- PHP将B转换为KB、MB、GB
- 构建微信公众号被动回复image图片消息xml
- mysqld_safe Number of processes running now
- CentOS使用chkconfig提示systemctl enable xxxx.service