Home > Backend Development > PHP Tutorial > angularjs refresh 404

angularjs refresh 404

WBOY
Release: 2016-07-28 08:26:25
Original
986 people have browsed it

In the project root directory, add the .htaccess file.
The content of the file is

<code><span><span>RewriteEngine</span></span><span>On</span><span><span>Options</span></span> FollowSymLinks

<span><span>RewriteCond</span></span><span>%{REQUEST_FILENAME}</span> !-f
<span><span>RewriteCond</span></span><span>%{REQUEST_FILENAME}</span> !-d
<span><span>RewriteRule</span></span> . index.html</code>
Copy after login

This is using apache as the server as an example.

If nginx is used as the server,
http://www.cnblogs.com/softidea/archive/2016/07/07/5651421.html

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the angularjs refresh 404, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template