Hans Salvisberg's blog

Running a Linux server under subversion

I like putting my servers under subversion control, i.e. treating the entire file system as a "local working copy." That way I can safely try things and be sure that I can go back to a previous configuration. Also, whenever I do some configuration changes (either manually or through a control panel), I can review all the changes, and when I'm satisfied I add a dated entry to a history file and commit / (root).


Here's a typical workflow:

  1. Make some changes.
  2. Verify the intended behavior.

A Nice Restaurant in Barcelona

PLA Restaurant
Bellafila, 5
93 412 65 52

Pl. Sant Jaume -> Ciutat -> Bellafila

How to Set up a PHP Development Environment for Drupal under Windows

So I bought a new notebook computer, an HP dv5-1250us, which came with the unloved Windows Vista, 64-bit version. I haven't wasted any time on Vista so far, and don't intend to, either. So the plan was to install Windows XP until Windows 7 would be available, but it turns out that the XP installation disks don't have the required SATA drivers. Rather than mucking with custom XP installation disks, I'm going for the Windows 7 64-bit RC now.

Get the Servers Up and Running

Create Subthemes to Keep Garland Customizations Separate on a Shared Installation

If you have Set Up a Single Drupal Installation for Supporting Multiple Virtual Hosts, then you're also sharing the themes. What if you want to make some minor customizations on one of the sites?

Plesk Migration

I've tried moving a Plesk 8.6 installation on SuSE 10.0 to a Plesk 8.6 installation on SuSE 10.3, but this doesn't work (see https://kis.hosteurope.de/support/faq/index.php?cpid=13913 (requires login)).

Downgrading to openssh-4.1p1-10 allows Plesk Migration Manager to work, and to avoid opening up vulnerabilities I've used...

How to Help a Friend Clean up a Virus Infection

Have you already had a friend call you for help cleaning up a virus infection? All the precautions that you apply to diligently maintain the security of your computers are suddenly useless when it comes to dealing with someone else's infected computer.

The node_access Table

I'm starting to gather knowledge on how the ACL Drupal module works.

On a fresh install, the node_access table contains one entry:

nid gid realm grant_view grant_update grant_delete
0 0 all 1 0 0

This entry grants view access to all nodes. When you install an access module, this entry is replaced by module-specific node access entries.

Access Denied to Anonymous Users

How to Test Drupal with PostgreSQL

On-line docs for PostgreSQL:

Taken from a post by Barry J.:

I use XAMPP on Windows for development. Here is my process for using PostgreSQL 8.3:

1. Download and run the installer.
2. Uncomment the "extension=php_pgsql.dll" line in Apache's php.ini.
3. Re-start Apache.
4. Change $db_url in settings.php.

Taken from a post by Bill M.:

Once it's installed, there's another step called "initializing

Testing Email Functionality

You should always create a test site for testing purposes. If your test site does not have email, but the module you want to test requires it, you have two choices:

What Drupal Modules Do I Use?

Whenever I start a new website I think I ought to create a list of the essential modules to get started quickly, but it's so hard to slow down and start keeping records when I could just go ahead and do it... Let's try it anyway!

Syndicate content