Debian comes with a version of vi that doesn’t handle arrow keys well especially in insert mode. Pressing arrow keys in vi displays letters instead of moving the cursor. Also it doesn’t do syntax highlighting. To fix it we need to install the full vim.
Continue reading
Install Nginx, PHP-FPM, MySQL and WordPress on CentOS 6 Linux
Nginx is an alternative web server that is fast becoming popular. Nginx is famed for its ability to handle thousands of concurrent connections while using very little memory. In this post I look at how to install Nginx, PHP-FPM, MySQL and WordPress on a brand new CentOS 6.x Linux installation.
Continue reading
Apache expires module
The Apache expires module, also known as mod_expires, allows you to fine tune “Expires” and “Cache-Control” HTTP headers sent with files served by Apache. These HTTP headers provide information for browsers and caching proxy servers on how long to cache content served by Apache.
Order Form with Contact Form 7
A contact form can serve as a simple order form for your products or services. Contact Form 7 together with a few other WordPress plugins can be used to create just such an order form.
Captcha-less Hashcash spam protection for Contact Form 7
Contact Form 7 is the most popular contact form plugin for WordPress. WP Hashcash is a javascript based captcha-less spam protection plugin for WordPress. Hashcash for Contact Form 7 is a plugin that I have coded that bridges WP Hashcash and Contact Form 7 allowing you to protect your contact form with a captcha-less spam prevention system.