Feed on Posts or Comments

Category ArchiveTips and Tricks



Blogs & Open Source & Scripts & Tips and Tricks & WordPress Alan Hartung on 25 Nov 2008

Use sIFR with WordPress dropdown menus

After much searching across the webosphere, I decided very few people have shared how to integrate sIFR with dropdown menus.

I found one example, but his solution did not work for me.

Taking his cue, however, I did implement SuperFish as a starting point.

Continue Reading »

Browsers & Tips and Tricks Alan Hartung on 01 Nov 2008

Use Minefield at the same time as Firefox

Using MultiFirefox, you can use Minefield, the new beta version of Firefox, at the same time as Firefox 2 or 3.

You need to rename Firefox to something like Firefox Beta or Firefox Minefield to get MultiFirefox to recognize Minefield as a version of Firefox.

After renaming it and restarting multifirefox, you will be able to load Minefield and any other version of Firefox compatible with multifirefox.

Tips and Tricks & Website Hosting & cPanel Alan Hartung on 05 Sep 2008

cPanel Set Default Address to :fail: no such address here

Spam can cause problems with exim when it is both incoming and outgoing. Recently, we started getting excessive resource usage notices for two different customers. At first, it looked like their mail accounts were being used to spam the server.

After further analysis, we realized it was actually that the domains were being bombarded with spam to their accounts. Exim was raising the server load dramatically, because neither account had the default address set to :fail: no such address here.

By using :fail:, “the email is never accepted into the server. During the initial SMTP negotiation when the senders SMTP server connects to your SMTP server, the sending SMTP server issues a RCPT command notifying your server which email address the email to follow is intended for. Your server then checks whether the recipient email actually exists on your server (a POP3 account, an alias or a catchall alias) and if it does not, it issues an SMTP DENY which terminates the attempt to deliver the email.” (source: ConfigServer)

These two accounts were being bombarded in such a way that they actually brought the server to a crawl by not having the default address set to :fail:.

So in your cPanel installations, you should make sure the default address is set to :fail: for all accounts to ensure a safe, stable hosting environment.

In WHM, if you go to “Tweak Settings” under “Server Configuration,” you can set the default for new accounts to go to :fail: and prevent high server load from mail attacks.

Open Source & Scripts & Tips and Tricks & Website Hosting & cPanel Alan Hartung on 16 Apr 2008

PRM - Keep the server load down

Process Resource Monitor

When running a shared server environment, you must be extremely aware of activity which can take down your server. One rogue hosting account can ruin things for everyone.

While you should not allow an account to run poorly written scripts which create server intensive processes, a host should also not leave the server unprotected from scripts which will increase the server load and bog or bring down the server.

Enter PRM. Process Resource Monitor will monitor processes on the server and check it for exceeding resource limits which you set in the config file. To be sure it doesn’t kill legitimate processes, you set the number of times a process must exceed your rules and the number of seconds between checks for a process to be killed.

PRM will keep your shared enviromnent running smoothly and help ensure one account does not bog down the server for everyone.

Firefox & Tips and Tricks Alan Hartung on 22 Dec 2007

Firefox Tabs - Drag and Drop

I can’t really remember the time before tabbed browsing and Firefox’s session restore feature. On average, I probably have 5-7 tabs open at a time, and I often close Firefox with that many tabs open. It has become part of my workflow.

The other day, I learned - quite by accident - that I can rearrange the tabs on Firefox just by clicking and dragging them to another position. It’s a simple trick, and it has helped with my workflow.

Now, my tabs can reflect groupings in my workflow. When I come back to the tab in the third position, I may want to open additional tabs related to the website contained therein. Rather than just opening new tabs at the end, I can now group them all together and bring a little more organization to my tabbed browsing.


Close
E-mail It