- FollowSymLinks
allow_override:
- None
- rewrites:
- - comment: "404 to index.html"
- rewrite_cond:
- - "%%{ich-trickse}{REQUEST_FILENAME} !-f"
- rewrite_rule:
- - "^(.*)$ / [L,R=301]"
+ error_documents:
+ - { error_code: 404 , document: "/index.html" }
- FollowSymLinks
allow_override:
- None
- rewrites:
- - comment: "404 to index.html"
- rewrite_cond:
- - "%%{ich-trickse}{REQUEST_FILENAME} !-f"
- rewrite_rule:
- - "^(.*)$ / [L,R=301]"
-
+ error_documents:
+ - { error_code: 404 , document: "/index.html" }