搜索内容

Web环境

  • Apache

    Apache版本UPUPW服务器组件 部署ssl证书配置https

    使用环境是apache版本的upupw 组件, PHP版本是 5.4 ,配置https教程如下。 1.修改目录/Apache2/conf/httpd.conf     文件,加载 mod_ssl.so 和 mod_socache_shmcb.so 模块,注释掉 ssleay32.dll 和 libeay32.dll LoadModule ssl_module modules/mod_ssl.so LoadModule socache_shmcb_module modules/mod_socache_shmcb.s……
    admin 2024-12-27
  • Linux

    宝塔面板启动nginx出现报错 nginx启动,出现libluajit-5.1.so.2错误的解决方法

    通过宝塔面板启动Nginx 提示报错,通过 nginx configtest 提示报错如下 nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory 这种情况是动态链接库失效   解决办法 1、编辑 vim /etc/ld.so.conf 将 /usr/local/lib 加载最后一行,最后的……
    admin 2024-12-20
  • IIS

    .net程序配置好后,网站页面可以访问,但是内页伪静态部分访问有错误。

    1、遇到一个.net程序搬家后,网站设置数据库都正常,但是伪静态部分出错的问题。 2、各项设置都正常,网站也可以正常打开,但是 伪静态部分打不开。 后经过多方面排查,最后确认是站点池问题,需要单独设置下站点池 ,站点池的.net版本,需要设置为 2.0 。
    admin 2024-11-29
  • Nginx

    nginx 如何配置该链接使用TLS1.3如何改成1.2

    要将 Nginx 配置中的 TLS 版本更改为 TLS 1.2,请按照以下步骤进行操作: 1、打开 Nginx 配置文件。通常,该文件位于 /etc/nginx/nginx.conf 或 /etc/nginx/conf.d/default.conf。 如果您使用的是宝塔面板 - 可以点击 设置 -配置文件 进行编辑。 2、在配置文件中找到与 SSL/TLS 相关的配置块,可能是 ssl_protocols 或 ss……
    admin 2024-10-29
  • SSL

    tomcat 多站点部署https

    <Connector port="443" protocol="org.apache.coyote.http11.Http11Nio2Protocol" SSLEnabled="true" defaultSSLHostConfigName="域名.com"> <SSLHostConfig hostName="域名.com" certificateKeystoreFile="conf/1xxxx.jks" certificateKeystorePassword="12321212" /> <SSLHostConfig hostName="www.域名……
    admin 2024-06-29
  • Tomcat

    tomcat 多站点部署https

    <Connector port="443" protocol="org.apache.coyote.http11.Http11Nio2Protocol" SSLEnabled="true" defaultSSLHostConfigName="域名.com"> <SSLHostConfig hostName="域名.com" certificateKeystoreFile="conf/1xxxx.jks" certificateKeystorePassword="12321212" /> <SSLHostConfig hostName="www.域名……
    admin 2024-05-29
  • IIS

    IIS利用web.config隐藏部分响应头信息或 隐藏服务器响应头中php版本信息的方法

    <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <outboundRules rewriteBeforeCache="true"> <rule name="Remove Server header"> <match serverVariable="RESPONSE_SERVER" pattern=".+" /> <action type="Rewrite" value="" />……
    admin 2024-01-29
  • Apache

    The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.

    The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. 原因是使用apache 由于启用HTTP2,浏览器默认在同证书、同IP的情况下会采取连接复用 ,如果配置两个站点的配置不通 或根证书不一致,会导致服务器拒绝浏览……
    admin 2023-12-29
  • IIS

    IIS访问提示“请求筛选模块被配置为拒绝包含双重转义序列的请求。” 解决方案。

    报错信息如下: HTTP 错误 404.11 - Not Found 请求筛选模块被配置为拒绝包含双重转义序列的请求。   以下是解决方法 方法1. wwwroot下建立web.config 内容如下: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <security> <requestFiltering allowDoubl……
    admin 2023-12-29
  • IIS

    常见网站安全漏洞处理方法

    如果使用nginx nginx.conf 文件中设置 http{ } 或 server{ } add_header Set-Cookie "HttpOnly"; add_header Set-Cookie "Secure";   如果使用IIS <rewrite> <outboundRules> <rule name="Add HttpOnly"> <match serverVariable="RESPONSE_Set_Cookie" pattern=".*" /> <conditions>……
    admin 2023-10-29