Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache Gzip压缩无法通过HTTPS工作_Apache_Ssl_Https_Gzip - Fatal编程技术网

Apache Gzip压缩无法通过HTTPS工作

Apache Gzip压缩无法通过HTTPS工作,apache,ssl,https,gzip,Apache,Ssl,Https,Gzip,我已通过.htaccess中的以下内容为我的网站启用gzip压缩: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE application/javascript AddO

我已通过.htaccess中的以下内容为我的网站启用gzip压缩:

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xml
这可以很好地工作,对于未加密的连接,内容会被压缩,但是当发出安全请求时,不会压缩任何内容。有什么想法吗


“我的服务器”在您的安全站点的Apache配置中运行Apache/2.2.14(即关于端口443和SSL的部分),请检查您是否已使用AllowOverride指令启用.htaccess文件

您当前的AllowOverride指令可能位于仅与服务器的非安全端口80访问配置相关的部分内。

您可能应该由服务器和客户端在SSL层(而不是HTTP层)自动协商


C

啊,好吧,我的客户端确实支持这一点,因为它使用SSLv3进行加密,所以是否需要进行任何类型的服务器端配置来启用SSL压缩?