In public_html, I made a directory called "dir1". I add some files in it let's says one.jpg, two.jpg, three.jpg. So these 3 files would be in /home/soft/public_html/dir1/ or hxxp://my_ip_address.com/dir1 (CMIIW)
But when I access the directory hxxp://my_ip_address.com/dir1, it shows 404.
===CASE #2===
I added 1 domain. Let's say domain1.com. I can access this domain by visiting hxxp://domain1.com. Within this domain, I created a directory called "asset" and put 3 TXT files in it, let's say 1.txt, 2.txt, 3.txt. Now I want to access this directory (in hope I can see the list of 3 TXT files), so I open my browser and visit hxxp://domain1.com/asset but when I do, it shows 404 error page
===QUESTION===
I wonder how to enable this directory listing? What file(s) should I configure?
Thanks in advance
Best regards
timiva
PS. I change the hxxp to http because I can't post URL.