web apps in /var/www/html with 403 error

ساخت وبلاگ

All apps there returns 403 error. I tried ip/webmail, domain/webmail... all 403.
Try to update CB2, rewrite_confs, not solved.

In /etc/httpd/conf/extra/httpd-hostname.conf

Code:

<Directory /var/www/html> Options +SymLinksIfOwnerMatch +IncludesNoExec -Indexes AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None Require all granted
# ls -l /var
dr-xr-x--x 10 webapps nginx 4096 Dec 20 2014 www

# ls -l /var/www
drwxr-xr-x 11 webapps webapps 4096 Jan 9 23:09 html

# ls -l /var/www/html
total 655836
-rw-r--r-- 1 webapps webapps 43 Jan 9 23:09 index.html
lrwxrwxrwx 1 webapps webapps 44 Jan 8 17:36 phpMyAdmin -> /var/www/html/phpMyAdmin-4.7.7-all-languages
drwxr-xr-x 13 webapps webapps 4096 Jan 8 17:36 phpMyAdmin-4.7.7-all-languages
-rwxr-xr-x 1 root root 68 May 31 2011 redirect.php
lrwxrwxrwx 1 webapps webapps 19 Jan 9 21:34 roundcube -> roundcubemail-1.3.3
drwxr-xr-x 12 webapps webapps 4096 Jan 9 23:27 roundcubemail-1.3.3
lrwxrwxrwx 1 webapps webapps 33 Jan 9 21:38 squirrelmail -> squirrelmail-1.4.23-20170731_0200
drwxr-xr-x 17 webapps webapps 4096 Jan 9 21:38 squirrelmail-1.4.23-20170731_0200

Tried chown webapps:webapps /var/www, it didn't solve the problem.

In /var/log/httpd/error_log, it shows
[access_compat:error] [pid 1047463:tid 140428351859008] [client xx.xxx.xxx.xxx:46081] AH01797: client denied by server configuration: /var/www/html/403.shtml

But then I have no idea any where else to check. Any help please?

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 365 تاريخ : چهارشنبه 20 دی 1396 ساعت: 15:31