Monthly Archives: December 2016

Remove unnecessary php file please

When I analysis web server log file, I found this

That means someone checking my files, and want to get the MySQL password? It is better to prevent this location in web server!

Posted in Memo | Tagged , , , , | Comments Off on Remove unnecessary php file please

the format of openssh public key

The openssh public key is like this :

using openssl to decode it:

And I write a python script to decode it, and found the format like this:

The sample python code:

Posted in Writing | Tagged , , , , | Comments Off on the format of openssh public key

Fix wordpress 301 loop when enable nginx…

I am try to setup Nginx as reverse proxy, backend is Apache, the problem is WordPress always 301 to the same URL even if the browser request that URL (301 loop). client nginx(https) apache(http) The problem is WordPress think the … Continue reading

Posted in Memo | Tagged , , , | Comments Off on Fix wordpress 301 loop when enable nginx…