搜索内容

Apache

  • Apache

    WordPress 存在用户枚举漏洞 /wp-json/wp/v2/users 修复方法

      修复方法分为Apache 和Nginx服务: Apache : 1、修改主题目录下function.php文件 wp-content/themes/主题目录/functions.php  ,添加以下代码: add_filter( 'rest_endpoints', function( $endpoints ){ if ( isset( $endpoints['/wp/v2/users'] ) ) { unset( $endpoints['/wp/v2/users'] ); } return $endpoints……
    admin 2025-03-07
  • Apache

    Apache解决 没有优先使用支持正向保密的密码套件,降级为A-

    Windows PhpStudy Apache 配置https 出现此提示 没有优先使用支持正向保密的密码套件,降级为A- 将规则更新换成以下即可 SSLStrictSNIVHostCheck off SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM SSLHonorCipherOrder on SSLProtocol all -SSLv2 -SSLv3 <VirtualHost *:443> Documen……
    admin 2024-12-27
  • Apache

    Windows系统PHPstudy Apache 配置https

    PHPstudy按照以下代码编辑配置文件。 SSLStrictSNIVHostCheck off SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM SSLHonorCipherOrder on SSLProtocol all -SSLv2 -SSLv3 <VirtualHost *:443> DocumentRoot “C:\phpStudy\PHPTutorial\WWW” ServerName www.wenzhan.cc ServerAlias wenz……
    admin 2024-12-27
  • Apache

    linux apache 使用.htaccess规则文件为子目录绑定域名

    很多朋友使用的是虚拟主机,没有开通子站功能,在子目录下创建了网站,但是却只能使用 域名/子目录  的方式进行访问, 不是很方便。 linux系统下面可以使用.htaccess 文件 对应的规则实现 子目录绑定域名。 <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^wenzhan.cc$ [NC……
    admin 2024-12-27
  • 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
  • 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