Setting up Drupal as an Apache Virtual Host is not much more complex than configuring any other website. But my goal today was to get rid of a few niggles.
I wanted to force all traffic to a single URL - for example, always load 'www.example.co.uk' rather than 'example.co.uk' or anotherexample.co.uk.
I'd also noticed that in some circumstances, the user was seeing a doubling up of forward slashes - for example, 'www.example.co.uk//' or 'www.example.co.uk//page-name'.