Sentora Support Forums
Folder Permissions - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Folder Permissions (/showthread.php?tid=895)

Pages: 1 2


Folder Permissions - quanghoang1910 - 01-23-2015

Hi Everyone.
When i browse http://domain.net/test/
The problem is :
"Forbidden
You don't have permission to access /test/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Can anyone help me to change permission in this folder, please ?


RE: Folder Permissions - Me.B - 01-23-2015

chown -R apache:apache /folder.

This is basic admin that you should know before managing/install a sentora server.

M B


RE: Folder Permissions - quanghoang1910 - 01-23-2015

(01-23-2015, 05:37 AM)Me.B Wrote: chown -R apache:apache /folder.

This is basic admin that you should know before managing/install a sentora server.

M B

Thank you so much. Me.B.
I'm studying manage webserver


RE: Folder Permissions - quanghoang1910 - 01-23-2015

(01-23-2015, 10:27 AM)quanghoang1910 Wrote:
(01-23-2015, 05:37 AM)Me.B Wrote: chown -R apache:apache /folder.

This is basic admin that you should know before managing/install a sentora server.

M B
I have change but it doesn't work M B.



RE: Folder Permissions - TGates - 01-23-2015

make sure you are root or use sudo


RE: Folder Permissions - tkramer - 03-20-2015

(01-23-2015, 11:38 AM)TGates Wrote: make sure you are root or use sudo

On Sentora the apache user not exists! I tryed set permission to www-data, but still return 403 error .
chown: invalid user: ‘apache:apache’
chown: invalid user: ‘Apache:Apache’
-------- error:
Forbidden

You don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at webmail.cavalcante.eti.br Port 80


RE: Folder Permissions - Me.B - 03-20-2015

www-data on ubuntu ;-) and apache on centos.

M B


RE: Folder Permissions - tkramer - 03-20-2015

(03-20-2015, 05:38 AM)Me.B Wrote: www-data on ubuntu ;-) and apache on centos.

M B

OK! Big Grin
But still not working! Any ideas??


RE: Folder Permissions - Me.B - 03-20-2015

You jumped on board and didn't really explain fully the issue.

Are you trying to make a custom domain for webmail.

M B


RE: Folder Permissions - tkramer - 03-20-2015

(03-20-2015, 07:01 AM)Me.B Wrote: You jumped on board and didn't really explain fully the issue.

Are you trying to make a custom domain for webmail.

M B

Sorry!
I have a CNAME DNS record point to @, the sub domain (webmail.cavalcante.eti.br) and vhosts at Module Admin -> Apache Config, I created an override like this:

This works on my old server with zpanel... How it works on sentora??
Sorry for my english! I'm Brazilian!

[Image: vhost.png]

This works on my old server with zpanel... How it works on sentora??