yum install httpd httpd-devel mysql mysql-server mysql-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml把server.crt及serv...
原创
2021-12-29 09:27:27
149阅读
<Directory "/opt/fivetrees"> Options FollowSymLinks AllowOverride All #这里原先是None要改为All Order allow,deny 
转载
精选
2014-06-24 18:02:58
1886阅读
一.前言简介 之前开发一直使用的是http,但是临时突然要改成https,把我折腾一番.最后总算是解决了问题. 二.两种签名 1.自签 ——>1.1.如果你们后台使用的是自签证书的形式,那么很有可能在你请求的时候会出现下面这种错误的提示Error Domain=NSURLErrorDomain Code=-999 "已取消" UserInfo={NSErrorFailingURLKe
配置如下server{ listen 80; listen 443 ssl; server_name www.iamle.com; index index.html index.htm index.php; root /home/wwwroot/www.iamle.com/; #ssl on; 这里要注释掉 ssl_certificate...
原创
2021-07-12 14:22:29
804阅读
配置如下server{ listen 80; listen 443 ssl; server_name www.iamle.com; index index.html index.htm index.php; root /home/wwwroot/www.iamle.com/; #ssl on; 这里要注释掉 ssl_certificate...
原创
2022-03-01 10:00:47
564阅读
查看当前防火墙里的状态:#/etc/init.d/iptables status也可以通过:/etc/sysconfig/iptables 的内容来修改。redhat默认对80端口进行了限制,如下命令将80的端口修改为接受。/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT现在再试试该服务器的nginx或者apache能访问了么?肯定OK了。能访
转载
精选
2014-07-15 10:39:41
277阅读
本章介绍 部署搭建 https 安全web服务 其中包括 基本web配置;创建私钥;创建证书请求;配置服务调用私钥和数字证书文件;用户访问http时 自动跳转到https
原创
2018-01-05 16:27:52
1098阅读
点赞
terstar.cn; location / { proxy_pas...
原创
2023-05-29 11:10:43
1190阅读
************************9.Apache*********************互联网主流架构lamp = linux apache mysql phplnmp = linux nginx mysql php若要使用 html cgi jsp asp 等闭源网页编辑软件需使用翻译软件 tomcat jboss##1.Apache基本配置##安装apache软件包: htt
原创
2016-12-07 21:35:29
568阅读
要将网站从 HTTP 协议升级到 HTTPS 协议,主要涉及以下几个步骤:获取 SSL 证书: 首先需要从 SSL 证书颁发机构(CA)获取 SSL 证书。你可以选择自签名证书(用于测试环境)或购买经过验证的证书(用于生产环境)。安装 SSL 证书: 将获取到的 SSL 证书安装到你的 Web 服务器上。具体安装步骤可能会因服务器类型而异,通常情况下,你需要将证书文件和私钥文件上传到服务器,并在
为了使用apache ab 的测试功能,安装Apache HTTP Server 2.2.14,安装发现80端口被占用,由于我的tomcat使用8080,resin使用8088。查看什么程序占用了80端口,把进程kill掉
1、Windows平台在windows命令行窗口下执行:D:\>netstat -aon|findstr "80"
TC
原创
2009-10-21 15:07:57
2396阅读
The QuestionSuperUser reader Samuel Alexander wants to know why 80 and 443 were chosen as the default HTTP and HTTPS ports:Why was port 80 chosen as the default HTTP port and 443 as the default HTTPS
转载
2017-12-28 16:19:00
198阅读
2评论
server { listen 443 ssl; #监听https 443时需加ssl server_name ; #你的域名 ssl on; ssl_certificate ; #证书路径 ssl_certificate_key ; #证书路径 ssl_session_timeout 5m; ss
转载
2021-02-05 11:15:00
4509阅读
nginx 怎么将 https 请求转为 http
httpd-ssl的配置:Listen 443NameVirtualHost *:443 AddType application/x-x509-ca-cert .crtAddType application/x-pkcs7-crl .crl SSLPassPhraseDialog builtin SSLSessionCache&n
原创
2016-11-07 10:56:37
1194阅读
修改根目录.htaccess文件<IfModulemod_rewrite.c>Options+FollowSymlinksRewriteEngineOn#thinkphp去掉index.phpRewriteCond%{REQUEST_FILENAME}!-dRewriteCond%{REQUEST_FILENAME}!-fRewriteRule^(.*)$index.php/$1[QS
原创
2018-02-07 17:26:34
6720阅读
点赞
HTTP 协议是 Hyper Text Transfer Protocol(超文本传输协议)的缩写,是用于从万维网( WWW:World Wide Web )服务器传输超文本到本地浏览器的传送协议。HTTP 是一个基于 TCP/IP 通信协议来传递数据(HTML 文件、图片文件、查询结果等)。HTTPS 协议是 HyperText Transfer Protocol Secure(超文本传输安全协
原创
2022-07-09 12:42:45
348阅读