Category Archives: Web Servers

Access Pages Without the PHP Extension Using .htaccess

There are a number of ways to make “clean URLs” work on your site, but this one is pretty straight forward.  It allows you to access /any-page.php by simply going to /any-page.  Just place the following into your .htaccess file … Continue reading

Posted in PHP, Web Servers | Leave a comment

Redirecting to and from the WWW Subdomain with HTACCESS

Here are a few snippets that will come in handy if you ever need to redirect www.example.com to example.com or vice versa.  There are a number of similar methods out there, but I prefer these as you don’t need to … Continue reading

Posted in Web Servers | Leave a comment

Installing PEAR on WAMP

How to install the PHP PEAR library with the popular WampServer application. Continue reading

Posted in Web Servers | 1 Comment

Installing SSH2 for PHP on a Media Temple DV Server

Here are my notes on what I did to install the SSH2 PHP extension on a Media Temple Dedicated Virtual 3.5 server. Continue reading

Posted in Web Servers | 1 Comment

Setting Up Virtual Hosts on a WampServer

Learn how to setup a Virtual Host on your local WampServer. Continue reading

Posted in Web Servers | 18 Comments

Disabling Magic Quotes GPC Using An .htaccess File

Yes, it is possible to disable PHP Magic Quotes using an .htaccess file. Continue reading

Posted in PHP, Web Servers | 4 Comments

Password Protection Using .htaccess and .htpasswd

How to secure files and directories on your web server using Apache’s .htpasswd and .htaccess files. Continue reading

Posted in Web Servers | 1 Comment