Htaccess

Allow htaccess files
 # #   AllowOverride  AuthConfig Indexes 
 * 1) AllowOverride controls what directives may be placed in .htaccess files.
 * 2) It can be "All", "None", or any combination of the keywords:
 * 3)   Options FileInfo AuthConfig Limit

Reverse Proxy
 ServerName www.dvddatabase.co.uk ServerAlias dvddatabase.co.uk RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/dvd(.*) http://www.dvddatabase.co.uk:8080/dvd$1 [P] DocumentRoot /home/sites/www.dvddatabase.co.uk/public_html 

ProxyPass
ProxyPass /dvd http://www.dvddatabase.co.uk:8080/dvd ProxyPassReverse /dvd http://www.dvddatabase.co.uk:8080/dvd

Basic Auth Restrict
 order allow,deny Allow from all require user paulkane Authtype Basic Authname "private access" AuthAuthoritative off AuthUserFile /home/sites/userpass.txt 

Basic Auth Header
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

the value is base64 encoded of

Spec

 * HTTP Authentication: Basic and Digest Access Authentication

SSL termination
If you have SSL termination on load balancer, to ensure reverse proxy works ensure your server name has the protocol ServerName https://www.null-pointer.co.uk

Case-insensitive file names on Apache
 CheckSpelling On