Просмотр исходного кода

error_pages must end with a slash (#670)

As a quick solution of #670, add a hint in the documentation, not to forget the slash.
bel2125 6 лет назад
Родитель
Сommit
c47476e289
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      docs/UserManual.md

+ 2 - 0
docs/UserManual.md

@@ -531,6 +531,8 @@ If set in any other way, the result is unspecified.
 
 ### error\_pages
 This option may be used to specify a directory for user defined error pages.
+To specify a directory, make sure the name ends with a backslash (Windows) 
+or slash (Linux, MacOS, ...).
 The error pages may be specified for an individual http status code (e.g.,
 404 - page requested by the client not found), a group of http status codes
 (e.g., 4xx - all client errors) or all errors. The corresponding error pages