Exim Tricks

Server owner, did you ever hit by tons of spam then bring your server down to it knees? Well, I have a few exim tricks that you can use to quickly remove them from Exim queue. I’m assuming that you already have the knowledge of what is SMTP, MTAs, and can use UNIX shell prompt. Start with Message-ID Exim Message-IDs…

Read More »

How to keep the text in one line inside a table?

Simple, use nowrap tag. Example: [html]<table> <tr> <td nowrap>Do not break this very loooooooooooooooooooooooooooooooooooooong sentence!</td> </tr> </table>[/html] Or: [html]<table> <tr> <td nowrap="nowrap">Do not break this very loooooooooooooooooooooooooooooooooooooong sentence!</td> </tr> </table>[/html]

Read More »

Redirect visitor to PR URL

How to redirect visitor to domain which have more PR? Requirement: – Apache – htaccess enabled. Case 1, PR is on domain.com Code: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC] RewriteRule .* http://domain.com/ [L,R=301] Case 2, PR is on www.domain.com Code: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] RewriteRule .* http://www.domain.com/ [L,R=301] How to use: – Choose one…

Read More »