I am using multiple angular projects on single server,
This is my folder structure of my projects

```
Root: Project-1
Root/test : Project2
Root/test/new : project3

```

Here is the htaccess code, that I am using. but subdirectory projects not working some times

```
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

RewriteRule ^(.*) /index.html [NC,L]

```

The issue is, when I am trying to access the second project using this url, `www.domain.com/test`, its redirecting to `root` folder, that is `project1` . I think it's checking project1 routing, when iIaccess project2

How can I fix the issue.