Page 2 of 2

Re: Error: Can`t open users folder.

Posted: Thu Jul 18, 2019 4:31 pm
by timurhai
You should create at least one group admins and add the first user to it.
After that first admin can use RULES GUI to add other groups and users.
Next you should create users group.
Only admins and users can navigate any project by default.
For any other, admin should give an access.

Re: Error: Can`t open users folder.

Posted: Thu Jul 18, 2019 5:58 pm
by ITdreamer
Well, I've created user

Code: Select all

# htdigest -c .htdigest CGRU admin
then I've created .htgroups file and added admin to admins group
right now .htgroups looks like this

Code: Select all

admins: admin
After restart apache on server I now can see the folders. But the system didn't ask me to login.
Ass I understand I see all folders even being a guest.

Why is that?

Re: Error: Can`t open users folder.

Posted: Thu Jul 18, 2019 6:12 pm
by timurhai
You should have this line (uncommented):
https://github.com/CGRU/cgru/blob/maste ... example#L9
To make Apache to perform authentication.

Re: Error: Can`t open users folder.

Posted: Thu Jul 18, 2019 8:12 pm
by ITdreamer
Hmm

I've uncommented this line, restarted apache, cleared the history in browser, but the situation stayed the same.

I still can see folders as a guest, and when I open the page in browser it doesn't ask me to authenticate.

Re: Error: Can`t open users folder.

Posted: Fri Jul 19, 2019 10:15 am
by timurhai
Apache should not give an access w/o authentication, if digest and valid user are enabled.
You should check you Apache configuration.

You can test http server with some empty site, not in the CGRU root folder.