当尝试通过一些使用wordpress ajax的自定义ajax代码上载大图像时,apache和413 Request Entity Too Large遇到问题。我已经读了一些书,据我了解,这与启用SSL有关,但是我看到了许多不起作用的“解决方案”,或者我不知道如何在wp-上实现ajax.php
这是SSL.conf中的虚拟主机:
<VirtualHost *:443>
DocumentRoot /home/example.com/_www
ServerName www.example.com
ServerAlias example.com
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/STAR_example_com.crt
SSLCertificateKeyFile /etc/pki/tls/private/example.com.key
SSLVerifyClient none
SSLVerifyDepth 1
SSLOptions +OptRenegotiate
</VirtualHost>