I have an ISO image of CentOS 7:
[root ~]# file /home/myhome/CentOS-7-x86_64-Minimal-1511.iso /home/myhome/CentOS-7-x86_64-Minimal-1511.iso: ISO 9660 CD-ROM filesystem data 'CentOS 7 x86_64 ' (bootable)
I want it to be seen on my web server's document root so I mount it like this:
mount -t iso9660 -o loop /home/myhome/CentOS-7-x86_64-Minimal-1511.iso /var/www/html
Mount shows it mounted and httpd.conf confirms that /var/www/html is the document root. And, I can see CentOS-7 files and directories in /var/www/html.
/home/myhome/CentOS-7-x86_64-Minimal-1511.iso on /var/www/html type iso9660 (ro,loop=/dev/loop0)
But, when I browse to the server's home page I just get the Apache test page. I did restart httpd. What am I missing?