Quick Average Request Time from Apache access_log

First, you'll need to add the time required to deliver the request into the access_log. In this case, a custom_log is created. Note the bolded ^%D at the end, which will deliver the time required to serve the request in milliseconds (http://httpd.apach… more »

ErrorDocument * index.php

Using a site's home page as an error document is a good way to prevent people and 'bots from learning more about the site architecture. Routing all error requests to the home page, or some other page, will reduce information leaks, such as 'file not fou… more »

Wicked Good Gallery - Lightweight LAMP, Easy to Administer

The Wicked Good Gallery grew from an idea mentioned at http://w3schools.com/forum and discussions with the people at http://lilyclaireart.com. The challenge was to build a gallery application that would allow site visitors to view and purchase artwork… more »

Real-Time Apache Server Monitor

Apache includes mod_status, which lets you monitor the server status, in real-time. Click the link above to see it running up at http://apache.org. There are also ways to automate the reporting, so you can gain further insight into performance, and y… more »

Mobile Device HTML Page - Detect and Redirect

First, the device must be identified so the correct content can be served.An .htaccess file can be used, or these settings can be placed in httpd.conf (or an included .conf file). This is an Apache 1.3 version, 2.+ may be slightly different.#… more »

:: Next >>