Refreshing page gives “Page not found”

后端 未结 7 2159
夕颜
夕颜 2020-11-29 02:08

I have an app where it uses a single ng-view and multiple controllers and views. If I navigate through the root, eg: www.domain.com, everything works. Except that if I hit

7条回答
  •  情深已故
    2020-11-29 02:32

    I couldn't comment but as well as using HTML mode, base href="/", sudo a2enmod rewrite, using .htaccess rewrite. I had to AllowOverride All in both the sites available of your site and the /etc/apache2 apache.conf

提交回复
热议问题