From: http://docwhat.org/ Date: Wed, 8 Jun 2011 19:27:51 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 3.20110608~5 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/38021b0a59c2f17b1a1e85b2d1bb1a5d219e3aa2 --- diff --git a/doc/bugs/404_plugin_should_handle_403.mdwn b/doc/bugs/404_plugin_should_handle_403.mdwn new file mode 100644 index 000000000..71aed632e --- /dev/null +++ b/doc/bugs/404_plugin_should_handle_403.mdwn @@ -0,0 +1,8 @@ +Apache will return 403 (Forbidden) instead of 404 (Not Found) if the `Indexes` option is turned off. This is because with `Indexes` turned on, it considers it something it *might* be able to serve in the future. With `Indexes` off, it will never serve that page in the future (unless `Indexes` is turned back on). + +The [[404 plugin|plugins/404]] code only checks for 404, not 403. It should check for both. + +See Also: + + * [StackOverflow: 404-vs-403](http://stackoverflow.com/questions/5075300/404-vs-403-when-directory-index-is-missing) + * [[404 plugin discussion|plugins/404/discussion]]