Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/404.go
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2016-02-26 17:31:05 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2016-02-26 17:31:05 +0300
commit69b75ba90e919d4b86496baf0e6071f44b6de707 (patch)
treea5107f96fcd5f15566b7625b2bc808461733b2e7 /404.go
parentd074949316eba3da84bd1dd46f80eec2800763dc (diff)
parent274c4f8aabfcc1bc41634f9fb1ffb29ce57fda11 (diff)
Merge branch 'handle-404' into 'master'
Present user-provided 404 pages If the 404.html is present in root of project it will be presented instead of generic 404. **Example:** 1. If you use the project page (served under /project/) and try to access: `/project/non/exsiting/file` we will try to serve: `/project/404.html`, then `/404.html`. 1. If you use the group page (served under /) and try to access `/non/existing/file` we will try to serve: `/404.html`. 1. If you use custom domain and try to access: `/non/existing/file` we will try to server `/404.html` only. cc @axil Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/318 See merge request !2
Diffstat (limited to '404.go')
0 files changed, 0 insertions, 0 deletions