Posted By

burnandbass on 11/12/14


Tagged


Versions (?)

htaccess redirect to index.html


 / Published in: Apache
 

le't say we put our project in "dir" folder

  1. RewriteEngine on
  2. RewriteCond %{REQUEST_FILENAME} !-f
  3. RewriteCond %{REQUEST_FILENAME} !-d
  4. RewriteRule ^([^?]*)$ /dir/index.html [NC,L,QSA]

Report this snippet  

You need to login to post a comment.