Custom File Extension Parsing with PHP and Apache
Written by Andy P. Friday, 28 December 2007 05:55
( 2 Votes )Sometime in web applications, you may feel inclined to have dynamic code in .css, .js, .htm or .html files. To get Apache to parse these types of files you can create an .htaccess file and use the ”AddHandler application/x-httpd-php” command followed by the extensions you would like to have parsed as php. Depending on your Apache configuration, you may have to use ”AddHandler application/x-httpd-php4” or ”AddHandler application/x-httpd-php5” for different versions.
Read more: Custom File Extension Parsing with PHP and Apache
Joomla! 1.5 keep-alive problem
Written by Andy P. Thursday, 13 December 2007 04:34
( 1 Vote )Recently, I had an problem with Joomla! 1.5 where they would log in to the administration panel with IE 7 and their browser began requesting index.php?option=com_admin&tmpl=component&task=keepalive thousands and thousands of times. It was like 5-30 requests per second for this page. Though that's a lot, it wouldn't put TOO much strain on the server since the page being requested didn't have any content on it whatsoever.
The real problem was that the end user was walking away from his machine so it was pretty much flooding the server with useless traffic. Another implication of this is that since the ever-naughty behavior.keepalive function was doing its job (a little too well, of course), the website administrator may be out of the building but his session is still alive and well for any passers-by to take advantage of.
Using Google as a Weapon
Written by Andy P. Wednesday, 28 November 2007 13:00
( 1 Vote )After a few of the customers I deal with regularly dropped from the top of Google into the dark
abyss of the internet in October, I started looking into what changed. Eventually, I found that they were at the top of Yahoo and MSN bringing me to the conclusion that it wasn’t a problem with the site but rather in an update to Google’s special sauce.
Page 3 of 3


