Hey group, Hopefully, this is the correct sub to post this help. I KNOW the issue is probably so easy, but I just can't see what it is. When I navigate to the site 192.168.1.65/inst, I should see the contents listed. Instead I receive, "Forbidden You don't have permission to access /inst/ on this server."
I have recently installed Apache and copied the contents of my CentOS iso to a directory, inst. I used the chcon cmd along with the options to apply to new the dir.
[root@rhel-lab adrian]# ls -l /var/www/html/ total 4 drwx------. 9 root root 4096 Dec 31 1969 inst [root@rhel-lab adrian]#
[root@rhel-lab adrian]# chcon -R --reference=/var/www/html /var/www/html/inst/
[root@rhel-lab adrian]# ls -l /var/www/html/inst total 380
-rw-r--r--. 1 root root 34494 Jun 18 01:27 autorun.ico
-rw-r--r--. 1 root root 222 Jun 18 01:27 autorun.inf
-rw-r--r--. 1 root root 14 Jun 17 22:18 CentOS_BuildTag
drwx------. 3 root root 33 Jun 17 22:18 EFI
-rw-r--r--. 1 root root 215 Jun 17 22:18 EULA
-rw-r--r--. 1 root root 18009 Jun 17 22:18 GPL
drwx------. 3 root root 54 Jun 17 22:18 images
drwx------. 2 root root 4096 Jun 17 22:19 isolinux
-r--r--r--. 1 root root 37512 Jun 17 22:18 ldlinux.sys
drwx------. 2 root root 41 Jun 17 22:19 LiveOS
drwx------. 2 root root 200704 Jun 17 22:20 Packages
drwx------. 2 root root 4096 Jun 18 01:25 repodata
-rw-r--r--. 1 root root 1690 Jun 18 01:27 RPM-GPG-KEY-CentOS-7
-rw-r--r--. 1 root root 1690 Jun 18 01:26 RPM-GPG-KEY-CentOS-Testing-7
-rw-r--r--. 1 root root 94 Jun 18 01:27 syslinux.cfg
drwx------. 2 root root 51 Jun 17 22:18 System Volume Information
-rw-r--r--. 1 root root 2883 Jun 18 01:27 TRANS.TBL [root@rhel-lab adrian]#
[link] [comments]