Feed aggregator

Using Host File For Migration Testing

Knowledge Base - 47 min 2 sec ago
A common problem is how to test a website that has been installed on a new server when the domain name for the site is still pointing to the old server. An easy solution to this problem is to use a "hosts" file to force your web browser to go to the new s

Adding Reliable Penguin To Your RackSpace Account

Knowledge Base - 47 min 2 sec ago
There are three ways to add a technical contact to your RackSpace account: 1. Contact your RackSpace Account Manager by phone. 2. Call RackSpace technical support. 3. Add the contact through the MyRackSpace website. Each method is described in de

Migration Testing On Windows XP With Hosts File

Knowledge Base - 47 min 3 sec ago

Testing your new server with a hosts file is a 4 step process:

Configure Spamhaus In Sendmail

Blog - Tue, 08/03/2010 - 08:40

On Redhad, edit /etc/mail/sendmail.mc and add the following line towards the end of the file before the first MAILER line:

FEATURE(`dnsbl', `sbl.spamhaus.org',`"Rejected due to Spamhaus listing see http://www.abuse.net/sbl.phtml?IP=" $&{clientaddr} " for more information"')dnl

Then run:

cd /etc/mail/
make
/sbin/service sendmail restart

Original post blogged on b2evolution.

Tomcat Log Rotation

Blog - Tue, 08/03/2010 - 07:47

Here's a simple logrotate script for Tomcat:

/usr/tomcat/apache-tomcat-5.5.27/logs/*.log { rotate 90 lastaction /sbin/service tomcat restart endscript }

It should be placed at:

/etc/logrotate.d/tomcat

Original post blogged on b2evolution.

Parse .html files for PHP

Blog - Wed, 07/28/2010 - 08:12

Create a .htaccsss file containing the following lines:

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

Original post blogged on b2evolution.

Syndicate content