Use mod_substitute in Apache
The essence mod_substitute is to replace the text in the body of the response from the web server. With it you can change for example links to one domain wit...
The essence mod_substitute is to replace the text in the body of the response from the web server. With it you can change for example links to one domain wit...
Creating an admin from the admin panel isn’t a hard task. But what do you do if you don’t have access to the admin panel, but you do have access to the mysql...
A quick note about https traffic behind crooked load balancers. We have Setting up Nginx + php-fcgi behind a load balancer. A load balancer is like a woman -...
The cpan utility will help you install any Perl module. The thing is that cpan downloads the source archives, compiles them and installs them. The problem sh...
Riding the wave of the previous post, I decided to play around with Yii and try porting this site, posts and pages included, over to Yii.
In this article I want to tell you what I did to automatically deploy NginX, php-fcgi and install Yii using docker. It can be usefull for local development. ...
I’ve run into this more than once: you need to pull a dump of a large database from hosting, but there’s no remote access to the mysql engine. PhpMyAdmin mig...
The simple life of simple websites on an Apache server.
The simple life of simple websites on an NginX server.
After a long quiet spell I decided to continue the story about branching out the server lineup. That phrase came out vague. It’ll make sense as we go.
Expect is a wrapper that provides the ability to program the input for interactive programs. Interactive programs are applications that require the input of ...
In CentOS7 you can no longer edit the usual iptables firewall rules the way you’re used to. iptables itself is still there, but it’s now wrapped in firewalld...
To fire off a bash command from php code and output the results, you can use shell_exec(), but what if you need to see the whole output in real time as the s...
ClamAV is an open source antivirus that allows you to detect trojans, rootkits and other nasty things. Clamscan is a scanning module.