diff options
author | http://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web> | 2010-03-02 19:56:53 +0000 |
---|---|---|
committer | Joey Hess <joey@finch.kitenet.net> | 2010-03-02 19:56:53 +0000 |
commit | 8aae08aafda8be4d17dd45bd04318b40e276878a (patch) | |
tree | 1008c5a0206e6929854b8e83b6099d4eb8f054bf /doc/bugs | |
parent | d469a410eaad03553cb5ef41a69c772c6d50bf76 (diff) |
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/404_plugin_and_lighttpd.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/bugs/404_plugin_and_lighttpd.mdwn b/doc/bugs/404_plugin_and_lighttpd.mdwn index e60fd209a..29ca107dc 100644 --- a/doc/bugs/404_plugin_and_lighttpd.mdwn +++ b/doc/bugs/404_plugin_and_lighttpd.mdwn @@ -3,3 +3,11 @@ Lighttpd apparently sets REDIRECT_STATUS=200 for the server.error-handler-404 pa 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. This is with lighttpd 1.4.19 on Debian. + +> /cgi-bin/ikiwiki.cgi?do=goto also provides redirection in the same way, +> if that's any help? You might need to set the lighttpd 404 handler to +> that, then compose REDIRECT_URL from other variables if necessary. +> +> I originally wrote the plugin for Apache; [[weakish]] contributed the +> lighttpd docs and might know more about how to make it work there. +> --[[smcv]] |