Error: Can`t open users folder.

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

Re: Error: Can`t open users folder.

Post by timurhai » Thu Jul 18, 2019 4:31 pm

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 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

User avatar
ITdreamer
Posts: 9
Joined: Tue Oct 31, 2017 1:13 pm

Re: Error: Can`t open users folder.

Post by ITdreamer » Thu Jul 18, 2019 5:58 pm

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: 490
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Error: Can`t open users folder.

Post by timurhai » Thu Jul 18, 2019 6:12 pm

You should have this line (uncommented):
https://github.com/CGRU/cgru/blob/maste ... example#L9
To make Apache to perform authentication.
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

User avatar
ITdreamer
Posts: 9
Joined: Tue Oct 31, 2017 1:13 pm

Re: Error: Can`t open users folder.

Post by ITdreamer » Thu Jul 18, 2019 8:12 pm

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: 490
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Error: Can`t open users folder.

Post by timurhai » Fri Jul 19, 2019 10:15 am

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 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest