Author Topic: Directory protection is not working as intended!  (Read 1208 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Directory protection is not working as intended!
« on: June 16, 2023, 11:25:18 AM »
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!

Offline
*
Re: Directory protection is not working as intended!
« Reply #1 on: June 21, 2023, 03:02:09 AM »
how are you protecting the file?

Offline
*
Re: Directory protection is not working as intended!
« Reply #2 on: June 22, 2023, 02:12:34 AM »
chmod, or apache? because similarly with htaccess is handled by apache so if your using something else it wont work