Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

redirect to the 404 page #16287

Merged
merged 3 commits into from
Sep 27, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/static_site/src/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ RewriteCond %{REQUEST_URI} !\/$
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule ^(.*) $1/index.html [NC,L]

# 404
ErrorDocument 404 /404.html