Ticket #2683 (reopened defect)
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,