79226552

Date: 2024-11-26 11:44:35
Score: 0.5
Natty:
Report link

Well, after going through some cycles of trying and giving up, I got it to work again.

As mentioned above, there is a <root>/cgi-bin/RO directory that unauthenticated users can access, and a <root>/cgi-bin/RW directory, there you can make changes,that only authenticated users should be able to access.

I got it to work by removing "Require all granted" from <root>/cgi-bin. I now only have "Require all granted" for the <root> directory, and "Require valid-user" for the <root>/cgi-bin/RW folder.

Side note: if you need to restrict access to certain AD groups, you have to use the AuthzProviderAlias construct. Putting in "Require ldap-group <group identifier>" does not work, you have to put "Require <alias>" in, where <alias> is of course the alias you defined in the AuthzProviderAlias construct.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dehulst