, , .
"" "" .
1.
302 , (. Firebug "persist" ):
RewriteCond %{REQUEST_URI} !/index.html
RewriteRule ^(.*)$ /index.html [R=302,L]
2.
302, , :
RewriteCond %{REQUEST_URI} !/index.html
RewriteRule ^(.*)$ /index.html [L]
, - "page.html" , "index.html" "page.html" , URL- "page.html"
..... ... .
The main difference between “RewriteRule” and “Alias” in my particular case is that you can set the rewrite inside .htaccess, while “Alias” isn’t ... so you can’t always use Alias ...
source
share