Answer by symcbean for Apache rewrite any uri to index.html but existing files
You could add RewriteCond %{REQUEST_FILENAME} !-f before the rewrite rule or just map /var/www/frontend/index.html as the 404 handler (but you need to override the 404 response with a 200).
View ArticleApache rewrite any uri to index.html but existing files
My front-end project is based on 1 file: frontend/index.htmlIt means that every request like /contact, /about, etc should be responded by index.html file.I was thought I can use these lines in my...
View Article
More Pages to Explore .....