My folder structure is like this: www.testlink.com/angular/dist/my-app
.
I have to access this folder when entering this link : www.testlink.com/angular
.
How can I do with htaccess?
My folder structure is like this: www.testlink.com/angular/dist/my-app
.
I have to access this folder when entering this link : www.testlink.com/angular
.
How can I do with htaccess?
2
Answers
Its better if you use subdomain
htaccess configuration
Add base url to index.html
Configure apache
This probably is what you are looking for, a combination of an external redirection with an internal rewrite:
Obviously the rewriting module needs to be enabled inside the http server for that and the interpretation of distributed configuration files (".htaccess") has to be enabled for that location inside the http server.