随笔分类 -  Apache 服务器

apache 服务器 相关配置
nginx 密码访问
摘要:https://tool.oschina.net/htpasswd 加密算法选择 md5,nginx 在明文模式下,无法使用,原因未知 阅读全文

posted @ 2020-07-03 09:08 正义的伙伴! 阅读(262) 评论(0) 推荐(0) 编辑

nginx 编译安装,问题
摘要:# 编译 ./configure \--prefix=/usr/local/nginx \--with-http_ssl_module \--with-http_stub_status_module \--with-http_flv_module \--with-http_gzip_static_m 阅读全文

posted @ 2019-12-10 15:18 正义的伙伴! 阅读(95) 评论(0) 推荐(0) 编辑

nginx 安装 tomcat pfx 格式证书
摘要:需要使用 openssl !!!!!!!!! 首先,nginx在编译安装时得安装ssl模块上传ssl证书到服务器/usr/local/nginx/ssl/xxx.pfx 生成证书crt可key openssl pkcs12 -in /usr/local/nginx/ssl/xxx.pfx -clce 阅读全文

posted @ 2019-10-17 14:47 正义的伙伴! 阅读(731) 评论(0) 推荐(0) 编辑

Jenkins 配置代理。
摘要:方法一: http://192.115.0.2:9000/pluginManager/advanced 页面 这个 URL 改成http://mirror.xmission.com/jenkins/updates/update-center.json 或https://mirrors.tuna.ts 阅读全文

posted @ 2019-06-17 18:29 正义的伙伴! 阅读(12411) 评论(0) 推荐(0) 编辑

阿里云 下载的 apache 证书 转换为 pcks8 证书
摘要:第一步: 百度 搜索 rsa 转 pcks8 将 .key 文件 转换成 pcks8.key 。 第二部: 将 chain.crt 的 内容 复制到 public.crt 下方。。 新的 public.crt 重命名为 *.pem 至此 阅读全文

posted @ 2019-04-09 20:18 正义的伙伴! 阅读(237) 评论(0) 推荐(0) 编辑

nginx windows 安装为服务.
摘要:安装Nginx 下载windows版nginx (http://nginx.org/download/nginx-1.10.0.zip),之后解压到需要放置的位置(D:\xampp\nginx) 将Nginx设置为Windows服务 需要借助"Windows Service Wrapper"小工具, 阅读全文

posted @ 2019-03-15 12:43 正义的伙伴! 阅读(3302) 评论(0) 推荐(0) 编辑

IIS 配置 url 重写...
摘要: 阅读全文

posted @ 2018-08-02 09:04 正义的伙伴! 阅读(1252) 评论(0) 推荐(1) 编辑

不带 www 跳转 到 带 www 网站..
摘要:Apache : 阅读全文

posted @ 2018-07-31 15:44 正义的伙伴! 阅读(2251) 评论(0) 推荐(0) 编辑

Apache 配置 http 转 https
摘要:RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} !^443RewriteRule(.) https://%{SERVER_NAME}/$1 [R,L] RewriteEngine On RewriteCond %{HTTP_HOST} www.wqj17.cn [NC] Rewri... 阅读全文

posted @ 2018-05-31 15:06 正义的伙伴! 阅读(1078) 评论(0) 推荐(0) 编辑

Apache 配置 虚拟主机
摘要:照着上边赋值.就行 !!! 最简化配置如下(不设置域名,域名别名--): 阅读全文

posted @ 2018-05-30 17:05 正义的伙伴! 阅读(179) 评论(0) 推荐(0) 编辑

Apache htaccess 设置....
摘要:NC: no case,就是说不区分大小写R:redirect,重定向F:forbidden,禁止访问L:last,表示已经是最后一条规则,.htaccess文件解析即将退出比如原地址为 /beauty/ydjs/office/20130408/20366.html调整后跳转到 /a/201304/ 阅读全文

posted @ 2018-05-28 10:53 正义的伙伴! 阅读(248) 评论(0) 推荐(0) 编辑

Apache 去掉 www
摘要:1 用phpstudy的网友打开“其他选项菜单”- “配置文件”-httpd-conf。找到 #LoadModule rewrite_module modules/mod_rewrite.so 把这一行的"#"去掉,就表示启用了mod_rewrite(301需要这个支持) 保存。 用phpstudy 阅读全文

posted @ 2018-05-28 10:48 正义的伙伴! 阅读(221) 评论(0) 推荐(0) 编辑

Apache https 证书配置...
摘要:没啥好说的..赋值粘贴 !! # 一份完整的配置。 阅读全文

posted @ 2018-05-25 20:33 正义的伙伴! 阅读(249) 评论(0) 推荐(0) 编辑

apache 压缩 gzip
摘要:配置 编辑httpd.conf文件 去掉 #LoadModule headers_module modules/mod_headers.so 前面的注释# 去掉 #LoadModule deflate_module modules/mod_deflate.so 前面的注释# 去掉 #LoadModu 阅读全文

posted @ 2018-04-03 14:00 正义的伙伴! 阅读(177) 评论(0) 推荐(0) 编辑

Apache 403 错误。。
摘要:两个方面。。 一: httpd.conf 是否有 <directory '/www'></directory> 是否有 Deny from all 或者 Require local 。。。将其改为 Require all granted httpd-vhosts.conf 是否有 Deny from 阅读全文

posted @ 2018-03-10 16:16 正义的伙伴! 阅读(75) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示