diff options
author | Javier Rojas <jerojasro@devnull.li> | 2010-07-19 01:11:28 -0500 |
---|---|---|
committer | Javier Rojas <jerojasro@devnull.li> | 2010-07-19 01:11:28 -0500 |
commit | 194817b63d2241e8764f01ad64a2aaaa0b6bf5b3 (patch) | |
tree | 7e6ed4db598577081d27617be76f530ff635f78d /doc/bugs | |
parent | cfed58f2908886c222c7305b1be4044de800fc6d (diff) | |
parent | 0ddc89123ebfa6b3b763e1a918b6d38282cee625 (diff) |
Merge branch 'master' of git://git.ikiwiki.info
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/404_plugin_and_lighttpd.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/bugs/404_plugin_and_lighttpd.mdwn b/doc/bugs/404_plugin_and_lighttpd.mdwn index ffbad8add..e478d98c3 100644 --- a/doc/bugs/404_plugin_and_lighttpd.mdwn +++ b/doc/bugs/404_plugin_and_lighttpd.mdwn @@ -1,4 +1,4 @@ -Lighttpd apparently sets REDIRECT_STATUS=200 for the server.error-handler-404 page. This breaks the 404 plugin which checks this variable for 404 before processing the URI. It also doesn't seem to set REDIRECT_URL. +Lighttpd apparently sets REDIRECT_STATUS=200 for the server.error-handler-404 page. This breaks the [[plugins/404]] plugin which checks this variable for 404 before processing the URI. It also doesn't seem to set REDIRECT_URL. I was able to fix my server to check the REQUEST_URI for ikiwiki.cgi and to continue processing if it was not found, passing $ENV{SEVER_NAME} . $ENV{REQUEST_URI} as the first parameter to cgi_page_from_404. However, my perl is terrible and I just made it work rather than figuring out exactly what to do to get it to work on both lighttpd and apache. |