- Web Server
- Control Panels
- Site Map/RSS Feeds
Deny Or Allow Countries With Apache .htaccess
The following script is using blogama.org IP geolocation API to automatically generate Apache .htaccess file to deny or allow specific countries. You can put this script under crontab and the .htaccess rules will be automatically updated. Also, it can update multiple .htaccess files.
Simple Bash Script To Monitor Your Webserver Remotely On Different Ports
Simple bash script to monitor a webserver on different ports (here smtp, dns, http & https but it can be customized); I'm sure there are over 100 available programs doing this but I wanted something with small memory usage. Also, I only wanted to be notified once, notifications are received by SMS on my cell. With the software I was using before, I was getting notified every minute until I could reach a computer and fix the problem or stop monitoring which was quite annoying.
How To Add Two-Factor Authentication To phpBB
This document describes how to add WiKID two-factor authentication to phpBB through Apache using mod_auth_xradius. Given the recent attack against phpBB and the exposure of it's users' passwords, we thought two-factor authentication might be timely.
How To Set Up Apache2 With mod_fcgid And PHP5 On CentOS 5.2
This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on CentOS 5.2. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.
How To Specify A Custom php.ini For A Web Site (Apache2 With mod_php)
This short article explains how you can specify a custom php.ini for a web site running on Apache2 with mod_php. That way, each web site can have its own php.ini instead of having to use the server's default one.
How To Set Up Apache2 With mod_fcgid And PHP5 On Debian Etch
This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Debian Etch. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.
Learning C/C++ Step-By-Step
Many people are really interested in learning and implementing C/C++ programs on their favorite platforms like DOS/Windows or Linux. If you are the one looking for a step-by-step guide to get started, this tutorial is for you. Let me know your comments on my tiny attempt to serve the community.
Using memcached With Your vBulletin Forum To Reduce Server Load (Debian Etch)
In this article I will explain how you can reduce server load by using memcached together with your vBulletin forum software (I'm assuming you are running vBulletin on Apache2 with mod_php5). memcached is a daemon that can store objects in the system's memory (e.g. results of database queries) which can speed up your web site tremendously. You can use memcached over a network (i.e., install your web application on one server and memcached on another server), but usually you install both on one server to avoid the networking overhead.
Talking SOAP With Exchange
Previously, talking to Exchange without using Microsoft products was pretty much out of the question. The binary MAPI protocol is proprietary and poorly documented. Exchange supports IMAP and POP, but these protocols only give acesss to emails, not the calendar, address book, todo lists etc. But beginning with version 2007, Exchange now ships with a SOAP interface called Exchange Web Services, or EWS. This interface gives us access to the functions necessary to write clients in any programming language on any platform. This article describes a PHP program to look up, delete and insert items in an Exchange calendar.
Gettext For Static Websites
Here's how I implemented a translation management system for a static website, using GNU gettext. For the impatient, I've distilled it to 11 instructions at the end.