Hi list,

Hi Webit,


I have a perl script that authenticates users login info(username/password)
users choose their own username password
The script runs fine but can't write to the .htpasswd file

Sounds like a problem of permissions.
The web server is running with very limited permissions, and can probably not write this file.


You could "chown" the file appropriately (give to to the web server user account, which by default is called "www" ).

chown www .htpasswd


Cheers,

Thilo



Reply via email to