View a directory in a home folder on your website

So you have your Apache or HTTPD network setup on your system properly. It is posting when you navigate to it in your browser, and you want to allow people to view the contents of a subfolder on your website.

The first step is to make a soft link to the folder in your /var/www/html directory.

The second step is to run a chmod a+rx on both the folder you made a hyperlink to and the parent folder on your system.

Now you will be able to view the contents of that directory through a web browser.

Leave a Reply

Your email address will not be published. Required fields are marked *