搜索内容

Web环境

  • 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
  • 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