This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
31
FTP / can not login FTP
« on: January 24, 2018, 03:24:07 AM »
My FTP often have such a problem.
Response: 331 User ****** OK. Password required
Command: PASS *********
Response: 230 OK. Current restricted directory is /
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (*******)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
Please tell me how to fix this problem?
Response: 331 User ****** OK. Password required
Command: PASS *********
Response: 230 OK. Current restricted directory is /
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (*******)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
Please tell me how to fix this problem?
32
Varnish / Install Varnish SSL error
« on: January 18, 2018, 08:49:10 AM »
Intall the vanish buy selected Apache & Varnish Cache & Nginx Reverse Proxy and click "Save & Rebuild Configuration", but the CWP show some error as below
Nginx ERROR Detected ! nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/pki/tls/private/www.***.com.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch) nginx: configuration file /etc/nginx/nginx.conf test failed
i have use SSL checker verify my website, the SSL work fine.
any suggestion?
Nginx ERROR Detected ! nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/pki/tls/private/www.***.com.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch) nginx: configuration file /etc/nginx/nginx.conf test failed
i have use SSL checker verify my website, the SSL work fine.
any suggestion?
33
Apache / enable Gzip
« on: January 11, 2018, 03:06:33 AM »
Hi
I enable Gzip by this guide http://idroot.net/tutorials/how-to-enable-gzip-compression-on-apache/
#LoadModule deflate_module modules/mod_deflate.so change to LoadModule deflate_module modules/mod_deflate.so
Open httpd.conf file using a text editor and place the following in it:
# mod_deflate configuration
<IfModule mod_deflate.c>
# Restrict compression to these MIME types
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/css
# Level of compression (Highest 9 - Lowest 1)
DeflateCompressionLevel 9
# Netscape 4.x has some problems.
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
and then retart the apache server
Now i use Gizp checker tool https://checkgzipcompression.com/, my website support Gizp, but when i use https://developers.google.com/speed/pagespeed/insights/ check speed of my website, google PageSpeed Insights show i need to enable Gzip compression, what's the problem?
I use https://nixcp.com/tools/gzip-test/, it is said my website does not support Gzip compression.
my Centos webpanel has install Varnish by select webservers->Apache & Varnish Cache & Nginx Reverse Proxy->Save& rebuild configuration
I enable Gzip by this guide http://idroot.net/tutorials/how-to-enable-gzip-compression-on-apache/
#LoadModule deflate_module modules/mod_deflate.so change to LoadModule deflate_module modules/mod_deflate.so
Open httpd.conf file using a text editor and place the following in it:
# mod_deflate configuration
<IfModule mod_deflate.c>
# Restrict compression to these MIME types
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/css
# Level of compression (Highest 9 - Lowest 1)
DeflateCompressionLevel 9
# Netscape 4.x has some problems.
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
and then retart the apache server
Now i use Gizp checker tool https://checkgzipcompression.com/, my website support Gizp, but when i use https://developers.google.com/speed/pagespeed/insights/ check speed of my website, google PageSpeed Insights show i need to enable Gzip compression, what's the problem?
I use https://nixcp.com/tools/gzip-test/, it is said my website does not support Gzip compression.
my Centos webpanel has install Varnish by select webservers->Apache & Varnish Cache & Nginx Reverse Proxy->Save& rebuild configuration