Ghadamyari
Verified User
- Joined
- Aug 13, 2011
- Messages
- 32
Hello,
I'm using nginx_apache rewrite config on my directadmin server and I see that the webapps are not working properly.
http://hostname/phpmyadmin/
http://hostname/phpmyadmin
http://hostname/phpMyAdmin
http://hostname/roundcube
http://hostname/squirrelmail
They all return 403 forbidden error and I see the following error log in nginx errorlog:
but these ones work:
http://hostname/phpMyAdmin/
http://hostname/roundcube/
and It also works if I run:
but I think it's not safe to do so as the default chmod of the above folders should be 551 !
I'm using nginx_apache rewrite config on my directadmin server and I see that the webapps are not working properly.
http://hostname/phpmyadmin/
http://hostname/phpmyadmin
http://hostname/phpMyAdmin
http://hostname/roundcube
http://hostname/squirrelmail
They all return 403 forbidden error and I see the following error log in nginx errorlog:
Code:
2016/10/28 04:58:48 [error] 205947#0: *964418 open() "/var/www/html/phpMyAdmin.gz" failed (13: Permission denied), client: IP, server: DOMAIN, request: "GET /phpmyadmin HTTP/1.1", host: "DOMAIN"
2016/10/28 04:58:48 [error] 205947#0: *964418 open() "/var/www/html/phpMyAdmin" failed (13: Permission denied), client: IP, server: DOMAIN, request: "GET /phpmyadmin HTTP/1.1", host: "DOMAIN"
but these ones work:
http://hostname/phpMyAdmin/
http://hostname/roundcube/
and It also works if I run:
Code:
chmod 755 /var/www
chmod 755 /var/www/html
but I think it's not safe to do so as the default chmod of the above folders should be 551 !