I got "Access forbidden!"
Posted: 11. November 2015 15:47
My box is centos 7.1 x64 and installed latest xampp. After installing xampp and I browse my test url, but I got this error message.
I add "/var/www/html" for my sites, and I guesss some permissions of this directory have problem.
Any helpful comments are appreciated.
Thanks in advance.
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
test.com
Apache/2.4.17 (Unix) OpenSSL/1.0.1p PHP/5.6.14 mod_perl/2.0.8-dev Perl/v5.16.3
I add "/var/www/html" for my sites, and I guesss some permissions of this directory have problem.
[root@localhost lampp]# ls -al /var/www
total 8
drwxr-xr-x. 3 root root 17 Nov 7 07:41 .
drwxr-xr-x. 23 root root 4096 Nov 10 23:42 ..
drwxr-xr-x. 26 root root 4096 Nov 10 23:46 html
Any helpful comments are appreciated.
Thanks in advance.