htaccess examples

Temporarily take site down for maintenance or Redirecting to a New Domain Force https use or Use a Custom Error Document Allowing access only from internal network Blocking Unwanted User-Agents Password protecting a... » More

Slow SSH Logins

On a new server install on CentOS 5.1 I was getting very slow logins. Trying ssh with the -v (verbose) option showed that: debug1: Authentications that can continue: publickey,gssapi-with-mic,passworddebug1: Next authentication method:... » More

Xen

I had a problem installing a new virtual machine using Xen and virt-manager on CentOS 5.1.I could not choose a network device as the drop-down list/menu was empty. From the bug at the following page:http://bugs.centos.org/view.php?id=2516 I downloaded... » More

PHP 5.2.0 Upgrade and Issues

In the official yum repositories for Red Hat/CentOS for RHEL5 / CentOS 5.1 the current version of PHP is (at time of writing) 5.1.6 however when trying to install the Magento e-commerce application required PHP version 5.2.0 or higher.To upgrade PHP to... » More

Nagios and Checking Squid

After installing Nagios I created three files to define all the services I wanted to monitor:hosts.cfghostgroups.cfgservices.cfgSquidI used the check_squid code from http://workaround.org/squid/nagios-plugin/adding the relevant details to each of my 3... » More

Picasa Web Albums on Linux

PICASA 2.5 web-albumIm using Ubuntu Edgy on i386 and this is what I did to get it working:1. I installed Picasa as usual (v2.2 for linux)2. I started it up and scanned some folder containing photos3. Shut down picasa AND the media detector4. Instlled... » More

Mount ISO image under Linux

"ISO Master" program is a GUI which may be useful available from the Get Deb website.You can mount ISO images via the loop device. It is possible to specify transfer functions (for encryption/decryption or other purposes) using loop device. But how to... » More