It is possible to serve .php or .cgi / .pl file using different file type / extension name. This will improve security. For example, server .html as .php file, add following to your httpd.conf or .htaccess file: # serve .html files as php files AddType application/x-httpd-php .html # serve .nix files as cgi files AddType […]
Recently I wrote about installing and running Xcache under Red hat enterprise Linux and CentOS Linux. By default Xcache use /dev/zero for caching. All you have to do is create /dev/zero in chrooted jail. Type the following command (assuming that your jail is located at /lighttpd.jail directory): # mkdir -p /lighttpd.jail/dev # mknod -m 666 […]
By default, PostgreSQL database server remote access disabled for security reasons. However, some time you need to provide the remote access to database server from home computer or from web server. Step # 1: Login over ssh if server is outside your IDC Login over ssh to remote PostgreSQL database server: $ ssh email@example.com Step […]
In this tutorial yo0u will learn about Installing SSL Certificate (Secure Server Certificate) to secure communication between Postfix SMTP server and mail client such as Outlook or Thunderbird.
Lighttpd allows you to run php from different hosts. This is quite useful: a] If you want to run php 4 locally and php 5 from remote host b] Load balancing dynamic content c] Added layer for security for chrooted jails etc If you would like to run wikipedia / sf.net like site, you can […]
PHP Bulletin Board (phpBB) is a popular Internet forum package written in the PHP programming language. It is free software released under GNU GPL Public License.
So how do you restrict or deny access by IP address using Lighttpd web server? Lighttpd has mod_access module. The access module is used to deny access to files with given trailing path names. You need to combine this with remoteip conditional configuration. Syntax is as follows: $HTTP[“remoteip”] == “IP” : Match on the remote […]