So, I play with the spine and got to where the direct pages that use pushState load are not working properly. if I try to go to my.url.com/login, it will give me the page not found, which it should, because this does not directly exist. I have the following rewrite rule:
RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteRule (.*) index.html [L,QSA]
hoever this doesn't seem to work (thought with him I get a bad request, not found). How can I get the pushState url to load correctly using mod rewrite?
ryanzec
source share