4046900 Jul 18, 2019 4:40 PM
i trying to set a httpd server , when i try to acsees the file from the server i get this error sms :
"Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
"Linux localhost.localdomain 4.14.35-1818.3.3.el7uek.x86_64 #2 SMP Mon Sep 24 14:45:01 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost noindex]# whoami
root"
"[root@localhost noindex]# pwd
/usr/share/httpd/noindex"
"[root@localhost noindex]# ls -la
total 0
drwxrwxrwx. 2 root root 23 Jul 18 19:16 .
drwxr-xr-x. 5 root root 65 Jul 18 19:16 ..
-rwxrwxrwx. 1 root root 0 Jul 18 19:16 file1.txt"
"[root@localhost httpd]# ls -la
total 32
drwxr-xr-x. 5 root root 65 Jul 18 19:16 .
drwxr-xr-x. 306 root root 8192 Jul 18 19:02 ..
drwxr-xr-x. 3 root root 4096 Jul 18 18:56 error
drwxr-xr-x. 3 root root 8192 Jul 18 18:56 icons
-rw-r--r--. 1 root root 3539 Aug 31 2018 index.html
drwxrwxrwx. 2 root root 23 Jul 18 19:16 noindex"