Hi all,

Apologies to begin with... I'm a bit of a newbie and have what will probably be a really silly question for you all.

I have bought hosting with 123-reg (yes I know probably a big mistake)... I am trying to create a member area on my site.

Now 123-reg doesn't use anything sensible like PHP, Javascript etc and according to their support the only way I can do it is to us .htaccess and .htpasswd.

Fair enough. I have the two files (password one has been encrypted). The .htaccess file contains the following:

AuthType Basic
AuthName "Members"
AuthUserFile /home/vhosts/ftp@mywebsite/.htpasswd
Require valid-user
require user USERNAME
order allow,deny
allow from all

It has been stored in the dirctory that I want to protect.

Now my problem is that 123-reg support claim I needed to put .htpasswd file at the root... fair enough... but I cannot write any files to the root.

I have tried moving the file down a level to public_html and changing the path in .htaccess

Have I missed something obvious? Is the answer so simple that I just am not seeing it?

Any help would be very much appreciated.

Many thanks,