Deploy Angular 2 to Apache Server

后端 未结 8 1978
半阙折子戏
半阙折子戏 2020-12-07 16:47

I want to deploy an Angular 2 application on an Apache server. I\'ve read various guides like this and this but none of them is working. I have npm and ng

8条回答
  •  时光取名叫无心
    2020-12-07 17:31

    It appears i was missing this in my /etc/apache2/sites-enabled/000-default.conf file. After adding this and restarting apache, website runs fine.

    
      AllowOverride All
    
    

提交回复
热议问题