Now, mod_fastcgi is configured and running. FastCGI supports connection via UNIX sockets or TCP/IP networking. This is useful to spread load among various backends. For example, php will be severed from 192.168.1.10 and python / ruby on rails will be severed from 192.168.1.11. This is only possible with mod_fastcgi.
Debian 5 php5 package has serious security issues as follows:
To prevent Denial of Service attacks by exhausting the number of available temporary file names, the max_file_uploads option introduced in PHP 5.3.1 has been backported.
Recently, I had noticed lots of 404 error generated by my wordpress software. My old wordpress tag structure changed from:
As a result lots of error 404 was dumped into my log file. I wrote a small php code to get rid of the problem.
Lighttpd supports both IPv6 and IPv4 protocol out of box. You need to compile lighttpd with IPv6 support. This small how to explains how to enable both IPv6 and IPv4 support under GNU/Linux / UNIX and FreeBSD operating systems.
It appears that latest php version 5.1.6-20.el5_2.1 under RHEL / CentOS Linux v5.2 has made some major changes. As a result choort jail setup using previous instructions no longer works. PHP is crashing with segmentation fault errors. So I had to trace php errors using strace command.
There is a way to protect different directories with different username/password under Lighttpd server using conditionals directives.