Forbidden Centos7

4 posts / 0 new
Last post
#1 Sat, 10/01/2016 - 04:53
tayriel

Forbidden Centos7

Hi guys,

I have one problem with virtualmin configuration. My dedicated server is on Centos 7 with PHP 5.4; when i create one virtual server and config my hosts file i show response forbidden 403 in all requests http.

Details logs:

[Sat Oct 01 11:43:53.897453 2016] [core:error] [pid 21512] (13)Permission denied: [client xxxxxx:53542] AH00035: access to / denied (filesystem path '/home/test/public_html') because search permissions are missing on a component of the path

Directory home:

ls -la

drwxr-x--- 10 test test 4096 1 ott 11.09 test

Directory Test:

ls -la

drwxr-x--- 2 test test 4096 1 ott 11.09 public_html

Please help me! I do not understand this error.

Sorry for my English.

Sat, 10/01/2016 - 17:16
Joe
Joe's picture

What permissions do you have on /home? That error makes it sound like you've got no rx permission on /home, which would prevent any non-root users from directory access.

--

Check out the forum guidelines!

Sun, 10/02/2016 - 02:21
tayriel

Hi,

Permissions is:

drwxr-xr-x. root root system_u:object_r:httpd_sys_rw_content_t:s0 home

Thanks

Sun, 10/02/2016 - 02:33
tayriel

Directory virtualserver is:

drwxr-xr-x test test ? test

why where is "?" instead of "httpd_sys_rw_content_t" ?

Topic locked