Issue
I have completed angular project. now i want to change some url format force fully using htaccess file.so where should i put htaccess file? I have tried everywhere like belows path:
/opt/lampp/htdocs/GreatColoradoHomes
/opt/lampp/htdocs/GreatColoradoHomes/src
/opt/lampp/htdocs/GreatColoradoHomes/src/app
Solution
there is answer in github issue
Put .htaccess in src folder (final path for is
src/.htaccess
)Add it to
angular-cli.json
in the assets array (like favicon.ico).Have something similar to this:
"assets": [ "assets", "assets/images/favicon.ico", ".htaccess" ],
Answered By - voznik
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.