How to allow users to see content of a folder through url in ZF2

58 views Asked by At

I would like to show the files in a folder to the visitors of my website. I am using zf2. If I try to access the folder through url, I am getting the error "A 404 error occurred Page not found." For example, my folder is test and I am trying like this "https://example.com/public/test" or "https://example.com/test".

Please let me know how to achieve this.

Thanks in advance.

0

There are 0 answers