Posts Tagged ‘apache’

How to Ban an IP Address With .htaccess

Wednesday, February 17th, 2010

Once in a while you might run into a suspicious IP address accessing your website. Maybe it’s doing something funny like probing for vulnerabilities, or just spamming the heck out of your server. Being a responsible webmaster, you decide to ban the IP address from your server completely – but how? Using Apache Web server it’s easy to ban a single IP address, ban multiple IP addresses or ban an entire IP range using the .htaccess file.

(more…)

Redirecting www to non-www Using .htaccess

Friday, April 24th, 2009

The Apache Web server supports URL rewriting with the mod_rewrite engine. Placing custom rules in an .htaccess file lets you do all sorts of useful things to keep your URLs tidy. One really handy thing you can do for search engines and visitors is redirecting traffic from www to non-www version of your domain (and vice versa).

(more…)

Zend Optimizer & EasyApache3 w/ PHP 5 & Apache 2

Friday, March 7th, 2008

After upgrading to PHP 5.2.5 and Apache 2.6.9 using the new easyapache3 scripts (WHM > Software > Apache Update) I was still left without Zend Optimizer. WHM and easyapache3 installed Zend Optimizer (located in /usr/local/Zend/lib/Optimizer-3.3.0/) but after some mucking about I made the mistake of running /scripts/installzendopt – previously used to install Zend Optimizer with a step-by-step installer.

(more…)


Intavant    phpLinkBid    Scriptalicious    Servermind

PageHeat

©2009 Gabriel Harper. Do not use, copy or re-publish any part of this blog.