I am trying to have two different angular projects within the same website. I am using PHP and I cannot make the routes work. So basically, I want all the paths to be redirected to the root but one folder (adm). ADM will have the second angular project. I am managing routes with angular so I need that everything comming to /adm/anything goes to adm/
this is working:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !^/v1/
RewriteCond %{REQUEST_URI} !^/adm/
RewriteRule . / [L]
but I am missing the "/anything" part and I havent been able to find the way.
thanks