PDA

View Full Version : missing .htpasswd


tonysch
3rd October 2006, 03:45
I am installing osCommerce on a ubuntu OS with ISPconfig. I am setting my .htaccess for the admin directory in oscommerce. In the past I have added the following to my .htaccess file in the admin folder:

AuthName "StoreFront Administration Site"
AuthType Basic
AuthUserFile /var/www/web1/.htpasswd
Require valid-user

When I tried to do this with my latest install the .htpasswd is missing. I did an find for and found nothing.

could someone help. I must be missing something... :o

tonysch
4th October 2006, 06:04
Could someone please help. I need to get this resolved...

My .htpasswd files are missing from my install of ISPconfig on Ubuntu. Please..
:D.

sjau
4th October 2006, 10:12
Well, first check whether you put the .htpasswd at the right place. Maybe there's a spelling error in the .htaccess or maybe the .htpasswd file wasn't named according to the .htaccess or it was put into a wrong folder.

till
4th October 2006, 10:40
Please check on the shell with the command "ls -la". that the .htpasswd file is really not there. Files that begin with a .dot might be hidden in FTP clients.


You can add .htpasswd files with the ISPConfig WebFTP client.

sojic
15th January 2009, 13:42
I have also problem with .htpasswd

I create /var/www/web1/.htpasswd and /var/www/web1/web/.htaccess

After x time, .htpasswd become empty

I create this via ssh.

falko
16th January 2009, 13:25
You create both files manually, and after some time .htpasswd is empty?

Is there anything you did before this happened?