Skip to content
Advertisement

Tag: angular

How to stop directory listing for angular project in Linux

I have deployed angular 8 project in linux sub domain (web.mydomain.com), but when I am accessing web.mydomain.com directory listing is showing instead of loading website, but when I am accessing http://web.mydomain.com/index.html it is working. Below is the htaccess file looks like : Answer Add following line in your htaccess Either you may try

Advertisement