Modify

Ticket #2683 (reopened defect)

Opened 2 years ago

Last modified 10 days ago

Enable per user public_html

Reported by: btarrh@… Owned by: jsoriano@…
Milestone: 3.0.X Component: webserver
Severity: normal Keywords: Enable per user public_html
Cc:

Description

After enabling "Enable per user public_html" in the Web Server module it does not a. create a www or public_html folder in the home directories and b. after I manually created a www and a public_html folder in the home directories it did not set the proper permission to those folders so they are accessible from a browser. I received a "Forbidden You don't have permission to access" error. I tried to manually set the permissions to these folders in my home directory but was unable to access it through the terminal because of permission issues.

Attachments

Change History

comment:1 Changed 2 years ago by jacalvo@…

  • Owner changed from cperez@… to jsoriano@…
  • Milestone set to 2.0.X

comment:2 Changed 2 years ago by jsoriano@…

  • Status changed from new to closed
  • Resolution set to worksforme

You also need to change the permissions of the home directory. Check that you do all this steps:

  • Enable per user public html
  • mkdir /home/<user>/public_html
  • chmod o+rx /home/<user>/public_html
  • chmod o+x /home/<user>

Probably we'd have to automatize this, but it'll be done in future releases. It works for me by now, reopen the ticket if you cannot enable it due some malfunction in Zentyl server.

Regards,

comment:3 Changed 10 days ago by wentao.han@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

I think you should do this automatically once public_html is enabled. And don't forget to do this when new users are added from then on.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
The owner will be changed from jsoriano@…. Next status will be 'new'
Next status will be 'accepted'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.