Directory protection is not working as intended!

Started by licode, June 16, 2023, 11:25:18 AM

Previous topic - Next topic

licode

When protecting a file, the following are the expected behaviors:


  • generate/overwrite .htpasswd with the user ownership and with permissions: read & write for the user, and read for group & others
  • generate/edit .htaccess

What happens is this:
  • generate/overwrite .htpasswd with the user ownership, but WITHOUT the permissions: read & write for the user, and read for group & others
  • .htaccess is not edited (if its already exists)


I had to do all of this manually in order to work!

hill


hill

chmod, or apache? because similarly with htaccess is handled by apache so if your using something else it wont work