windows apache 配置 https:// wss://

<VirtualHost *:443>

ServerName frontt.project.com

ServerAlias

SSLEngine on

SSLCertificateFile "D:/phpstudy_pro/Extensions/Apache2.4.39/conf/ssl/frontt.project.com.crt"

SSLCertificateKeyFile "D:/phpstudy_pro/Extensions/Apache2.4.39/conf/ssl/frontt.project.com.key"

SSLCertificateChainFile "D:/phpstudy_pro/Extensions/Apache2.4.39/conf/ssl/frontt.project.comchain.crt"

FcgidInitialEnv PHPRC "D:/phpstudy_pro/Extensions/php/php7.4.3nts"

AddHandler fcgid-script .php

FcgidWrapper "D:/phpstudy_pro/Extensions/php/php7.4.3nts/php-cgi.exe" .php

<Location /wss>

proxyPass ws://127.0.0.1:29502

ProxyPassReverse ws://127.0.0.1:29502

</Location>

DocumentRoot "E:/project"

<Directory "E:/project">

Options FollowSymLinks ExecCGI

AllowOverride All

Order allow,deny

Allow from all

Require all granted

DirectoryIndex index.php index.html error/index.html

</Directory>

ErrorDocument 400 /error/400.html

ErrorDocument 403 /error/403.html

ErrorDocument 404 /error/404.html

ErrorDocument 500 /error/500.html

ErrorDocument 501 /error/501.html

ErrorDocument 502 /error/502.html

ErrorDocument 503 /error/503.html

ErrorDocument 504 /error/504.html

ErrorDocument 505 /error/505.html

ErrorDocument 506 /error/506.html

ErrorDocument 507 /error/507.html

ErrorDocument 510 /error/510.html

</VirtualHost>

相关推荐
Lsetea7 小时前
OpenSSL报certificate chain too long:error 22与verify_depth深度排查
linux·https·ssl证书·openssl·证书链
豆角焖肉18 小时前
Apache POI 实现 Excel 上传解析、导出
apache·poi·multipartfile·excel 导入导出·批量导入
nvd111 天前
深入剖析:GCP Pub/Sub 与 Apache Kafka 对消息处理延迟与消费者卡死的处理机制异同
分布式·kafka·apache
Lsetea2 天前
OpenSSL读取加密私钥报bad decrypt:passin与口令来源排查
linux·https·ssl证书·openssl·私钥
白帽攻防录2 天前
SRC 挖洞:Apache APISIX 非规范路径授权绕过深度复盘,CVE-2026-94269 怎么绕过网关访问后端
网络安全·apache·src漏洞挖掘
Lsetea2 天前
OpenSSL报CA signature digest algorithm too weak:error 68与签名摘要排查
https·ssl证书·openssl·签名算法·证书链
Lsetea2 天前
curl报91 No OCSP response received:cert-status与OCSP装订排查
https·ssl证书·openssl·curl·ocsp
Knight_AL2 天前
从 EasyExcel 到 Apache Fesod:Java Excel 处理生态的一次重构
java·apache·excel
Lsetea2 天前
OpenSSL报self-signed certificate in certificate chain:error 19与信任根排查
https·ssl证书·openssl·curl·证书链