
Apache
敬致知
不患无位,患所以立,不患莫己知,求为可知也。
展开
-
apache2/httpd,静态/动态转发问题。
希望实现访问https://127.0.0.1:8443, 能够默认找到/var/www/static_web下的index.htm页面,同时https://127.0.0.1:8443/api/v1/account/能够直接转发到/api/v1/account/如果是以下配置:Listen 8443<VirtualHost *:8443>WSGIDaemonProcess admin processes=2 threads=15 display-name=admin python-原创 2021-09-18 10:34:58 · 565 阅读 · 0 评论 -
服务器使用国密(SM2/SM3/SM4)证书,通过浏览器访问
1. Apache + GmsslApache 本身不支持国密,需要修改代码支持GMTLS下载解压:wget http://archive.apache.org/dist/httpd/httpd-2.4.39.tar.gztar -zxf httpd-2.4.39.tar.gz修改文件:Apache dir\modules\ssl\ssl_engine_init.cSSL_C...原创 2019-11-28 15:50:30 · 11673 阅读 · 5 评论 -
Apache URL 重定向和使用代理 实践
需求在浏览器地址栏输入IP地址或者输入域名(没有参数时),自动跳转到8080端口。如输入http://12.34.56.78,自动访问http://12.34.56.78:8080;对于http://12.34.56.78/pub/ 依然访问80端口。8080端口被封的情况下,实现第一个需求URL重定向可以实现第一个需求,但是因为8080端口被封,对于第二个需求,不能成功URL重定向:...原创 2019-01-16 22:34:15 · 1334 阅读 · 0 评论