Feature #1609
closedimproved mod_status
Description
enhanced mod_status: now the percent of the data transfer is shown, as well as the file sizes in MB or KB.
The time is shown in seconds or minutes.
Added two new columns: Read Speed and Write Speed.
the patch is for the version "lighttpd-1.5.0-r1992"
cd src
patch mod_status.c < mod_status.patch
-- thomas{AT}thomasfischer{DOT}biz
Files
Updated by Anonymous almost 17 years ago
added password protection.
added simple query parser (taken from another mod)
if you specify status.password in the configuration, then you need to pass an extra argument (pass=xxx) to the page, or it will result in 403.
for example:
status.status-url = "/server-status"
status.password = "43EF943407D6D8E88D66C83BD10F6"
these URLs are valid:
/server-status?pass=43EF943407D6D8E88D66C83BD10F6&auto
/server-status?pass=43EF943407D6D8E88D66C83BD10F6
(or auto argument in front)
patch mod_status2.patch.txt contains also my previous patch above
-- thomas{AT}thomasfischer{DOT}biz
Updated by Anonymous almost 17 years ago
added Connection count to text version.
patch: mod_status3.patch.txt (contains all patches from above also)
-- thomas{AT}thomasfischer{DOT}biz
Updated by admin almost 17 years ago
added password protection.
Why not use mod_auth?
added simple query parser (taken from another mod)
Copy/paste I guess? Code duplication should be avoided.
Updated by Anonymous over 16 years ago
i cleaned the patch up, improved its output(progress bar) and removed all password stuff again. The patch is for r1992 (this version:
http://blog.lighttpd.net/articles/2007/09/06/pre-release-lighttpd-1-5-0-r1992)
attached the patch (mod_status_2.patch) as well as the patched .c file (mod_status.c)
how it will look like:
http://img245.imageshack.us/img245/7900/imprej5.png
-- thomas {AT} thomasfischer {D0T} biz
Updated by Anonymous over 16 years ago
Replying to thomas {AT} thomasfischer {D0T} biz:
i cleaned the patch up, improved its output(progress bar) and removed all password stuff again. The patch is for r1992 (this version:
http://blog.lighttpd.net/articles/2007/09/06/pre-release-lighttpd-1-5-0-r1992)attached the patch (mod_status_2.patch) as well as the patched .c file (mod_status.c)
how it will look like:
http://img245.imageshack.us/img245/7900/imprej5.png
since my ISP is blacklisted here (stupid idea btw) i cannot attach the files, so i have pasted them here:
patch: http://pastebin.rigsofrods.com/f3b864309
mod_status.c: http://pastebin.rigsofrods.com/f71d16b1d
Updated by admin over 16 years ago
since my ISP is blacklisted here
I think you just need to login.
Updated by Anonymous over 16 years ago
Replying to Olaf van der Spek:
since my ISP is blacklisted here
I think you just need to login.
it says:
"Submission rejected as potential spam (IP 87.xxx.206.xxx blacklisted by sc.surbl.org, Content contained blacklisted patterns)"
Updated by stbuehler over 16 years ago
Everybody is blacklisted by sc.surbl.org, but i assure you that's not blocking your post (one ip blacklist gives karma -1, and you need at least -2 to be able to post iirc).
Blacklisted patterns is what hit you, and as Olaf van der Spek already told you: it may help you if you login.
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Assignee deleted (
jan) - Missing in 1.5.x set to Yes
Also available in: Atom