Error: Can`t open users folder.

Customize rules.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Error: Can`t open users folder.

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
User avatar
ITdreamer
Posts: 15
Joined: Tue Oct 31, 2017 1:13 pm

Re: Error: Can`t open users folder.

Post 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?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Error: Can`t open users folder.

Post by timurhai »

You should have this line (uncommented):
https://github.com/CGRU/cgru/blob/maste ... example#L9
To make Apache to perform authentication.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
User avatar
ITdreamer
Posts: 15
Joined: Tue Oct 31, 2017 1:13 pm

Re: Error: Can`t open users folder.

Post 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.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Error: Can`t open users folder.

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply